T - implementation specific JSON element typepublic class JsonDomDocument<T> extends JsonDomNode<T> implements Document
Document.| Modifier and Type | Field and Description |
|---|---|
static String |
DOCUMENT_ELEMENT_NODE_NAME
Node name of the document element
|
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Constructor and Description |
|---|
JsonDomDocument(JsonDomValue<T> jsonDomValue)
Constructor of
JsonDomDocument. |
appendChild, cloneNode, compareDocumentPosition, getBaseURI, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNodeName, getParentNode, getPrefix, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getBaseURI, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNodeName, getParentNode, getPrefix, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic static final String DOCUMENT_ELEMENT_NODE_NAME
public JsonDomDocument(JsonDomValue<T> jsonDomValue)
JsonDomDocument.jsonDomValue - wrapped JSON element@NonNull public JsonDomAttribute<T> createAttribute(@Nullable String name)
createAttribute in interface Document@NonNull public JsonDomAttribute<T> createAttributeNS(@Nullable String namespaceURI, @Nullable String qualifiedName)
createAttributeNS in interface Document@NonNull public CDATASection createCDATASection(@Nullable String data)
createCDATASection in interface Document@NonNull public Comment createComment(@Nullable String data)
createComment in interface Document@NonNull public DocumentFragment createDocumentFragment()
createDocumentFragment in interface Document@NonNull public JsonDomElement<T> createElement(@Nullable String tagName)
createElement in interface Document@NonNull public JsonDomElement<T> createElementNS(@Nullable String namespaceURI, @Nullable String qualifiedName)
createElementNS in interface Document@NonNull public EntityReference createEntityReference(@Nullable String name)
createEntityReference in interface Document@NonNull public ProcessingInstruction createProcessingInstruction(@Nullable String target, @Nullable String data)
createProcessingInstruction in interface Document@NonNull public Text createTextNode(@Nullable String data)
createTextNode in interface Document@Nullable public JsonDomNamedNodeMap<JsonDomAttribute<T>> getAttributes()
getAttributes in interface NodegetAttributes in class JsonDomNode<T>@NonNull public JsonDomNodeList<JsonDomNode<T>> getChildNodes()
getChildNodes in interface NodegetChildNodes in class JsonDomNode<T>@Nullable public DocumentType getDoctype()
getDoctype in interface Document@Nullable public String getDocumentURI()
getDocumentURI in interface Document@Nullable public DOMConfiguration getDomConfig()
getDomConfig in interface Document@Nullable public JsonDomElement<T> getElementById(@Nullable String elementId)
getElementById in interface Document@NonNull public JsonDomNodeList<JsonDomElement<T>> getElementsByTagName(@Nullable String tagName)
getElementsByTagName in interface Document@NonNull public JsonDomNodeList<JsonDomElement<T>> getElementsByTagNameNS(@Nullable String namespaceURI, @Nullable String localName)
getElementsByTagNameNS in interface Document@Nullable public DOMImplementation getImplementation()
getImplementation in interface Document@Nullable public String getInputEncoding()
getInputEncoding in interface Documentpublic T getJsonElement()
getJsonElement in class JsonDomNode<T>@Nullable public JsonDomNode<T> getNextSibling()
getNextSibling in interface NodegetNextSibling in class JsonDomNode<T>public short getNodeType()
getNodeType in interface Node@Nullable public String getNodeValue()
getNodeValue in interface Node@NonNull public JsonDomDocument<T> getOwnerDocument()
getOwnerDocument in interface NodegetOwnerDocument in class JsonDomNode<T>@Nullable public JsonDomNode<T> getPreviousSibling()
getPreviousSibling in interface NodegetPreviousSibling in class JsonDomNode<T>public boolean getStrictErrorChecking()
getStrictErrorChecking in interface Document@Nullable public String getTextContent()
getTextContent in interface Node@Nullable public String getXmlEncoding()
getXmlEncoding in interface Documentpublic boolean getXmlStandalone()
getXmlStandalone in interface Document@Nullable public String getXmlVersion()
getXmlVersion in interface Document@NonNull public JsonDomNode<T> importNode(@Nullable Node importedNode, boolean deep)
importNode in interface Documentpublic void normalizeDocument()
normalizeDocument in interface Document@NonNull public JsonDomNode<T> renameNode(@Nullable Node node, @Nullable String namespaceURI, @Nullable String qualifiedName)
renameNode in interface Documentpublic void setDocumentURI(@Nullable
String documentURI)
setDocumentURI in interface Documentpublic void setStrictErrorChecking(boolean strictErrorChecking)
setStrictErrorChecking in interface Documentpublic void setXmlStandalone(boolean xmlStandalone)
setXmlStandalone in interface Documentpublic void setXmlVersion(@Nullable
String xmlVersion)
setXmlVersion in interface Documentpublic JsonDomElement<T> getDocumentElement()
rootgetDocumentElement in interface Documentpublic boolean equals(@Nullable
Object o)
equals in class JsonDomNode<T>protected boolean canEqual(@Nullable
Object other)
canEqual in class JsonDomNode<T>public int hashCode()
hashCode in class JsonDomNode<T>Copyright © 2024. All rights reserved.