Uses of Interface
org.tquadrat.foundation.xml.builder.spi.Element
Packages that use Element
Package
Description
Classes for builder XML elements and documents.
The internal classes for the implementation of the XML builder tools.
Several classes that are not part of the API for the XML
builder tools, but required to implement tools for other, XML-derived
languages, like SVG or HTML.
-
Uses of Element in org.tquadrat.foundation.xml.builder
Subinterfaces of Element in org.tquadrat.foundation.xml.builderModifier and TypeInterfaceDescriptioninterface
The definition for a processing instruction.interface
The definition of an XMLElement.Methods in org.tquadrat.foundation.xml.builder with type parameters of type Element -
Uses of Element in org.tquadrat.foundation.xml.builder.internal
Classes in org.tquadrat.foundation.xml.builder.internal that implement ElementModifier and TypeClassDescriptionclass
This class defines a SGML comment.class
The definition for the XML DocType element.final class
The implementation for the interfaceProcessingInstruction
.class
This class defines the plain text that is the content of an SGML element as such an element.class
An implementation ofXMLElement
that supports attributes, namespaces, children, text,CDATA
and comments.Fields in org.tquadrat.foundation.xml.builder.internal declared as ElementModifier and TypeFieldDescriptionprivate Element
Comment.m_Parent
The parent element for this comment.private Element
DocType.m_Parent
The parent for thisDOCTYPE
.private Element
ProcessingInstructionImpl.m_Parent
The parent for this processing instruction.private Element
Text.m_Parent
The parent element for this comment.private Element
XMLElementImpl.m_Parent
The parent element.Fields in org.tquadrat.foundation.xml.builder.internal with type parameters of type ElementModifier and TypeFieldDescriptionXMLDocumentImpl.m_Children
The child elements for this document.Methods in org.tquadrat.foundation.xml.builder.internal with type parameters of type ElementModifier and TypeMethodDescriptionfinal <E extends Element>
XMLDocumentXMLDocumentImpl.addDocumentChild
(E child) Adds a child to the document itself, not to the root element.final <E extends Element>
voidComment.setParent
(E parent) Sets the parent for this element.final <E extends Element>
voidDocType.setParent
(E parent) Sets the parent for this element.final <E extends Element>
voidProcessingInstructionImpl.setParent
(E parent) Sets the parent for this element.final <E extends Element>
voidText.setParent
(E parent) Sets the parent for this element.final <E extends Element>
voidXMLElementImpl.setParent
(E parent) Sets the parent for this element.Methods in org.tquadrat.foundation.xml.builder.internal that return types with arguments of type ElementModifier and TypeMethodDescriptionfinal Collection
<? extends Element> DocType.getChildren()
Provides access to the children for this element; the returned collection is not modifiable.final Collection
<? extends Element> ProcessingInstructionImpl.getChildren()
Provides access to the children for this element; the returned collection is not modifiable.final Collection
<? extends Element> XMLDocumentImpl.getChildren()
Provides access to the children for this document; the returned collection is not modifiable.
The root element is the last entry in the returned collection.Collection
<? extends Element> XMLElementImpl.getChildren()
Provides access to the children for this element; the returned collection is not modifiable.Comment.getParent()
Returns the parent of this element.DocType.getParent()
Returns the parent of this element.ProcessingInstructionImpl.getParent()
Returns the parent of this element.Text.getParent()
Returns the parent of this element.XMLElementImpl.getParent()
Returns the parent of this element. -
Uses of Element in org.tquadrat.foundation.xml.builder.spi
Classes in org.tquadrat.foundation.xml.builder.spi with type parameters of type ElementModifier and TypeInterfaceDescriptioninterface
The definition for an SGML document.Classes in org.tquadrat.foundation.xml.builder.spi that implement ElementModifier and TypeClassDescriptionclass
The abstract base class for specialised implementations ofXMLElement
.Fields in org.tquadrat.foundation.xml.builder.spi declared as ElementModifier and TypeFieldDescriptionprivate final Element
ChildSupport.m_Owner
The element that owns thisChildSupport
instance.private final Element
NamespaceSupport.m_Owner
The element that owns thisNamespaceSupport
instance.Fields in org.tquadrat.foundation.xml.builder.spi with type parameters of type ElementMethods in org.tquadrat.foundation.xml.builder.spi with type parameters of type ElementModifier and TypeMethodDescriptionfinal <E extends Element>
voidChildSupport.addChild
(E child) Adds a child.private final <E extends Element>
voidChildSupport.addChildElement
(String operationName, E child) Adds a child element.<E extends Element>
voidElement.setParent
(E parent) Sets the parent for this element.Methods in org.tquadrat.foundation.xml.builder.spi that return ElementModifier and TypeMethodDescriptionprotected final Element
NamespaceSupport.getOwner()
Returns the reference to the owner of this instance ofNamespaceSupport
.Methods in org.tquadrat.foundation.xml.builder.spi that return types with arguments of type ElementModifier and TypeMethodDescriptionfinal Collection
<? extends Element> ChildSupport.getChildren()
Provides access to the children for this element; the returned collection is not modifiable.default Collection
<? extends Element> Document.getChildren()
Provides access to the children for this document; the returned collection is not modifiable.
The root element is the last entry in the returned collection.default Collection
<? extends Element> Element.getChildren()
Provides access to the children for this element; the returned collection is not modifiable.Element.getParent()
Returns the parent of this element.Methods in org.tquadrat.foundation.xml.builder.spi with parameters of type ElementModifier and TypeMethodDescriptionprivate final void
ChildSupport.checkValid
(Element child, String operationName) Checks whether a child is valid for the element that owns thisChildSupport
instance.static final String
SGMLPrinter.composeChildrenString
(int indentationLevel, boolean prettyPrint, Element parent, Collection<? extends Element> children) Returns the children as a single formatted string.static final String
SGMLPrinter.composeElementString
(int indentationLevel, boolean prettyPrint, Element element, boolean selfClosing) Returns the given element as a single formatted string.Method parameters in org.tquadrat.foundation.xml.builder.spi with type arguments of type ElementModifier and TypeMethodDescriptionstatic final String
SGMLPrinter.composeChildrenString
(int indentationLevel, boolean prettyPrint, Element parent, Collection<? extends Element> children) Returns the children as a single formatted string.static final String
SGMLPrinter.composeDocumentString
(boolean prettyPrint, Document<? extends Element> document) Returns the given document as a single formatted string.Constructors in org.tquadrat.foundation.xml.builder.spi with parameters of type ElementModifierConstructorDescriptionAttributeSupport
(Element owner) Creates a newAttributeSupport
instance that checks whether attributes are valid to be added.AttributeSupport
(Element owner, boolean checkValid) Creates a newAttributeSupport
instance.AttributeSupport
(Element owner, boolean checkValid, Comparator<String> sortOrder) Creates a newAttributeSupport
instance.AttributeSupport
(Element owner, Comparator<String> sortOrder) Creates a newAttributeSupport
instance that checks whether attributes are valid to be added.ChildSupport
(Element owner) Creates a newChildSupport
instance for comments only.ChildSupport
(Element owner, boolean checkValid) Creates a newChildSupport
instance that allows child elements, but no text.ChildSupport
(Element owner, boolean checkValid, boolean allowChildren, boolean allowText, Function<CharSequence, String> escapeFunction) Creates a newChildSupport
instance.ChildSupport
(Element owner, Function<CharSequence, String> escapeFunction) Creates a newChildSupport
instance that allows text, but no child elements.NamespaceSupport
(Element owner) Creates a newNamespaceSupport
instance.