XMLDocumentModel

An XMLConfigurator relies on an XMLDocumentModel to provide a schematic description of the class of XML documents supported by a particular XMLElement implementation. It offers:

Author

Todd L Smith

Parameters

ConfigurationType

A concrete Configuration class.

ElementType

A concrete XMLElement class.

StateType

A concrete XMLConfiguratorState class.

elementClass

Functions

Link copied to clipboard
fun allowedChildrenOf(element: ElementType): Set<ElementType>?

Answer the allowed child elements of the specified element.

Link copied to clipboard
fun allowedParentsOf(element: ElementType): Set<ElementType>

Answer the allowed parent elements of the specified element.

Link copied to clipboard
fun elementWithQName(qName: String): ElementType?

Answer the element with the specified qualified name.

Link copied to clipboard
fun rootElement(): ElementType

Answer the root element.