Uses of Interface
org.tquadrat.foundation.xml.builder.XMLElement
Packages that use XMLElement
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 XMLElement in org.tquadrat.foundation.xml.builder
Fields in org.tquadrat.foundation.xml.builder declared as XMLElementModifier and TypeFieldDescriptionstatic final XMLElement[]XMLElement.EMPTY_XMLElement_ARRAYAn empty array ofXMLElementobjects.Methods in org.tquadrat.foundation.xml.builder with type parameters of type XMLElementModifier and TypeMethodDescriptiondefault <E extends XMLElement>
XMLElementXMLElement.addChild(E child) Adds a child to this element.Methods in org.tquadrat.foundation.xml.builder that return XMLElementModifier and TypeMethodDescriptiondefault XMLElementXMLElement.addCDATA(boolean flag) Adds the providedbooleanvalue as aCDATAelement to this XML element.default XMLElementXMLElement.addCDATA(char c) Adds the providedcharvalue as aCDATAelement to this XML element.default XMLElementXMLElement.addCDATA(double number) Adds the provideddoublevalue as aCDATAelement to this XML element.default XMLElementXMLElement.addCDATA(int number) Adds the providedintvalue as aCDATAelement to this XML element.default XMLElementXMLElement.addCDATA(long number) Adds the providedlongvalue as aCDATAelement to this XML element.default <E extends Enum<E>>
XMLElementXMLElement.addCDATA(E value) Adds the providedenuminstance as aCDATAelement to this XML element.default XMLElementAdds the providedBooleaninstance as aCDATAelement to this XML element.default XMLElementAdds the providedCharacterinstance as aCDATAelement to this XML element.default XMLElementXMLElement.addCDATA(CharSequence text) Adds aCDATAelement to this XML element.default XMLElementAdds the providedNumberinstance as aCDATAelement to this XML element.default XMLElementAdds the providedInstantinstance as aCDATAelement to this XML element.default XMLElementAdds the providedLocalDateinstance as aCDATAelement to this XML element.default XMLElementXMLElement.addCDATA(LocalDateTime date) Adds the providedLocalDateTimeinstance as aCDATAelement to this XML element.default XMLElementXMLElement.addCDATA(ZonedDateTime date) Adds the providedZonedDateTimeinstance as aCDATAelement to this XML element.default <E extends XMLElement>
XMLElementXMLElement.addChild(E child) Adds a child to this element.default XMLElementXMLElement.addComment(CharSequence comment) Adds a comment.default XMLElementXMLElement.addPredefinedMarkup(CharSequence markup) Adds predefined markup.default XMLElementXMLElement.addText(boolean flag) Adds the providedbooleanvalue as text to this element.default XMLElementXMLElement.addText(char c) Adds the providedcharvalue as text to this element.default XMLElementXMLElement.addText(double number) Adds the provideddoublevalue as text to this element.default XMLElementXMLElement.addText(int number) Adds the providedintvalue as text to this element.default XMLElementXMLElement.addText(long number) Adds the providedlongvalue as text to this element.default <E extends Enum<E>>
XMLElementXMLElement.addText(E value) Adds the providedenuminstance as text element to this element.default XMLElementAdds the providedBooleaninstance as text to this element.default XMLElementAdds the providedCharacterinstance as text to this element.default XMLElementXMLElement.addText(CharSequence text) Adds text to this element.default XMLElementAdds the providedNumberinstance as text to this element.default XMLElementAdds the providedInstantinstance as text to this element.default XMLElementAdds the providedLocalDateinstance as text to this element.default XMLElementXMLElement.addText(LocalDateTime date) Adds the providedLocalDateTimeinstance as text to this element.default XMLElementXMLElement.addText(ZonedDateTime date) Adds the providedZonedDateTimeinstance as text to this element.static final XMLElementXMLBuilderUtils.createXMLElement(String elementName) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().
The new element allows attributes and children, but will not validate them.static final XMLElementXMLBuilderUtils.createXMLElement(String elementName, CharSequence text) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, and add the given text.static final XMLElementXMLBuilderUtils.createXMLElement(String elementName, XMLDocument parent) Creates an XML element for the given tag and adds it as child to the given document.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().
The new element allows attributes and children, but will not validate them.static final XMLElementXMLBuilderUtils.createXMLElement(String elementName, XMLDocument parent, CharSequence text) Creates an XML element for the given tag and with the given text, and adds it as child to the given document.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().
The new element allows attributes and children, but will not validate them.static final XMLElementXMLBuilderUtils.createXMLElement(String elementName, XMLElement parent) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, and adds it as child to the given parent.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().
The new element allows attributes and children, but will not validate them.static final XMLElementXMLBuilderUtils.createXMLElement(String elementName, XMLElement parent, CharSequence text) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, adds the given text, and adds it as child to the given parent.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().
The new element allows attributes and children, but will not validate them.default XMLElementXMLElementFactory.createXMLElement(String elementName) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().default XMLElementXMLElementFactory.createXMLElement(String elementName, CharSequence text) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, and adds the given text.default XMLElementXMLElementFactory.createXMLElement(String elementName, XMLDocument parent) Creates an XML element for the given tag and adds it as child to the given document.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().default XMLElementXMLElementFactory.createXMLElement(String elementName, XMLDocument parent, CharSequence text) Creates an XML element for the given tag and with the given text, and adds it as child to the given document.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().default XMLElementXMLElementFactory.createXMLElement(String elementName, XMLElement parent) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, and adds it as child to the given parent.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().default XMLElementXMLElementFactory.createXMLElement(String elementName, XMLElement parent, CharSequence text) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, adds the given text, and adds it as child to the given parent.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().default XMLElementXMLElement.setAttribute(String name, boolean flag) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, double number) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, int number) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, long number) Sets the attribute with the given name.default <E extends Enum<E>>
XMLElementXMLElement.setAttribute(String name, E enumValue) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, Boolean flag) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, CharSequence value) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, CharSequence value, Optional<? extends CharSequence> append) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, Number number) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, Instant date) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, LocalDate date) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, LocalDateTime date) Sets the attribute with the given name.default XMLElementXMLElement.setAttribute(String name, ZonedDateTime date) Sets the attribute with the given name.default XMLElementXMLElement.setAttributeIfNotEmpty(String name, CharSequence value) Sets the attribute with the given name if the provided value is not empty.default XMLElementXMLElement.setAttributeIfNotEmpty(String name, Optional<? extends CharSequence> optional) Sets the attribute with the given name if the provided value is not empty.default XMLElementSets the id for the element.default XMLElementXMLElement.setNamespace(String identifier) Sets the given namespace.default XMLElementXMLElement.setNamespace(String prefix, String identifier) Sets the given namespace.default XMLElementXMLElement.setNamespace(String prefix, URI identifier) Sets the given namespace.default XMLElementXMLElement.setNamespace(URI identifier) Sets the given namespace.default XMLElementXMLElement.setNamespace(Namespace namespace) Sets the given namespace.Methods in org.tquadrat.foundation.xml.builder with parameters of type XMLElementModifier and TypeMethodDescriptiondefault XMLDocumentXMLDocument.addChild(XMLElement child) Adds a child to the root element of this document.static final XMLDocumentXMLBuilderUtils.createXMLDocument(XMLElement rootElement) Creates an XML document that uses the given element for the root element.static final XMLDocumentXMLBuilderUtils.createXMLDocument(XMLElement rootElement, boolean standalone) Creates an XML document that uses the given element for the root element.static final XMLDocumentXMLBuilderUtils.createXMLDocument(XMLElement rootElement, Charset encoding, String name, URI uri) Creates an XML document that uses the given element for the root element with the given encoding and DTD.static final XMLDocumentXMLBuilderUtils.createXMLDocument(XMLElement rootElement, Charset encoding, URI uri) Creates an XML document that uses the given element for the root element with the given encoding and DTD.static final XMLElementXMLBuilderUtils.createXMLElement(String elementName, XMLElement parent) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, and adds it as child to the given parent.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().
The new element allows attributes and children, but will not validate them.static final XMLElementXMLBuilderUtils.createXMLElement(String elementName, XMLElement parent, CharSequence text) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, adds the given text, and adds it as child to the given parent.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().
The new element allows attributes and children, but will not validate them.default XMLElementXMLElementFactory.createXMLElement(String elementName, XMLElement parent) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, and adds it as child to the given parent.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator().default XMLElementXMLElementFactory.createXMLElement(String elementName, XMLElement parent, CharSequence text) Creates an XML element for the given element name that supports attributes, namespaces, children, text,CDATAand comments, adds the given text, and adds it as child to the given parent.
The given element name is validated using the method that is provided byXMLBuilderUtils.getElementNameValidator(). -
Uses of XMLElement in org.tquadrat.foundation.xml.builder.internal
Classes in org.tquadrat.foundation.xml.builder.internal that implement XMLElementModifier and TypeClassDescriptionclassAn implementation ofXMLElementthat supports attributes, namespaces, children, text,CDATAand comments.Methods in org.tquadrat.foundation.xml.builder.internal with type parameters of type XMLElementModifier and TypeMethodDescriptionfinal <E extends XMLElement>
XMLElementXMLElementImpl.addChild(E child) Adds a child to this element.Methods in org.tquadrat.foundation.xml.builder.internal that return XMLElementModifier and TypeMethodDescriptionfinal XMLElementXMLElementImpl.addCDATA(CharSequence text) Adds aCDATAelement to this XML element.final <E extends XMLElement>
XMLElementXMLElementImpl.addChild(E child) Adds a child to this element.final XMLElementXMLElementImpl.addComment(CharSequence comment) Adds a comment.final XMLElementXMLElementImpl.addPredefinedMarkup(CharSequence markup) Adds predefined markup.final XMLElementXMLElementImpl.addText(CharSequence text) Adds text to this element.final XMLElementXMLDocumentImpl.getRootElement()Return the root element for this document.final XMLElementXMLElementImpl.setAttribute(String name, CharSequence value, Optional<? extends CharSequence> append) Sets the attribute with the given name.final XMLElementXMLElementImpl.setNamespace(String identifier) Sets the given namespace.final XMLElementXMLElementImpl.setNamespace(String prefix, String identifier) Sets the given namespace.final XMLElementXMLElementImpl.setNamespace(String prefix, URI identifier) Sets the given namespace.final XMLElementXMLElementImpl.setNamespace(URI identifier) Sets the given namespace.final XMLElementXMLElementImpl.setNamespace(Namespace namespace) Sets the given namespace.Constructors in org.tquadrat.foundation.xml.builder.internal with parameters of type XMLElementModifierConstructorDescriptionXMLDocumentImpl(XMLElement rootElement, boolean standalone) Creates a newXMLDocumentImplinstance.
The resulting document will do not have an explicit doc type, the encoding is defined as UTF-8.XMLDocumentImpl(XMLElement rootElement, Charset encoding, String name, URI uri) Creates a newXMLDocumentImplinstance.XMLDocumentImpl(XMLElement rootElement, Charset encoding, URI uri) Creates a newXMLDocumentImplinstance. -
Uses of XMLElement in org.tquadrat.foundation.xml.builder.spi
Classes in org.tquadrat.foundation.xml.builder.spi that implement XMLElementModifier and TypeClassDescriptionclassThe abstract base class for specialised implementations ofXMLElement.
