public class SimpleAdapterDocument extends AbstractAdapterNode implements Document
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 |
|---|
SimpleAdapterDocument(AdapterFactory adapterFactory,
AdapterNode parent,
String propertyName,
Object value) |
appendChild, buildChildAdapters, cloneNode, compareDocumentPosition, getAdapterFactory, getAttributes, getBaseURI, getChildBeforeOrAfter, getFeature, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParent, getParentNode, getPrefix, getPreviousSibling, getPropertyName, getPropertyValue, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, operationNotSupported, removeChild, replaceChild, setAdapterFactory, setContext, setNodeValue, setParent, setPrefix, setPropertyName, setTextContent, setUserData, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getFeature, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic SimpleAdapterDocument(AdapterFactory adapterFactory, AdapterNode parent, String propertyName, Object value)
public void setPropertyValue(Object prop)
setPropertyValue in interface AdapterNodesetPropertyValue in class AbstractAdapterNodeprop - the Java object (property) that we are adaptingprotected List<Node> getChildAdapters()
AbstractAdapterNodegetChildAdapters in class AbstractAdapterNodepublic NodeList getChildNodes()
getChildNodes in interface NodegetChildNodes in class AbstractAdapterNodepublic DocumentType getDoctype()
getDoctype in interface Documentpublic Element getDocumentElement()
getDocumentElement in interface Documentpublic Element getElementById(String string)
getElementById in interface Documentpublic NodeList getElementsByTagName(String string)
getElementsByTagName in interface DocumentgetElementsByTagName in class AbstractAdapterNodepublic NodeList getElementsByTagNameNS(String string, String string1)
getElementsByTagNameNS in interface DocumentgetElementsByTagNameNS in class AbstractAdapterNodepublic Node getFirstChild()
getFirstChild in interface NodegetFirstChild in class AbstractAdapterNodepublic DOMImplementation getImplementation()
getImplementation in interface Documentpublic Node getLastChild()
getLastChild in interface NodegetLastChild in class AbstractAdapterNodepublic String getNodeName()
getNodeName in interface NodegetNodeName in class AbstractAdapterNodepublic short getNodeType()
getNodeType in interface NodegetNodeType in class AbstractAdapterNodepublic Attr createAttribute(String string) throws DOMException
createAttribute in interface DocumentDOMExceptionpublic Attr createAttributeNS(String string, String string1) throws DOMException
createAttributeNS in interface DocumentDOMExceptionpublic CDATASection createCDATASection(String string) throws DOMException
createCDATASection in interface DocumentDOMExceptionpublic Comment createComment(String string)
createComment in interface Documentpublic DocumentFragment createDocumentFragment()
createDocumentFragment in interface Documentpublic Element createElement(String string) throws DOMException
createElement in interface DocumentDOMExceptionpublic Element createElementNS(String string, String string1) throws DOMException
createElementNS in interface DocumentDOMExceptionpublic EntityReference createEntityReference(String string) throws DOMException
createEntityReference in interface DocumentDOMExceptionpublic ProcessingInstruction createProcessingInstruction(String string, String string1) throws DOMException
createProcessingInstruction in interface DocumentDOMExceptionpublic Text createTextNode(String string)
createTextNode in interface Documentpublic boolean hasChildNodes()
hasChildNodes in interface NodehasChildNodes in class AbstractAdapterNodepublic Node importNode(Node node, boolean b) throws DOMException
importNode in interface DocumentDOMExceptionpublic Node getChildAfter(Node child)
AdapterNodegetChildAfter in interface AdapterNodegetChildAfter in class AbstractAdapterNodechild - this nodepublic Node getChildBefore(Node child)
AdapterNodegetChildBefore in interface AdapterNodegetChildBefore in class AbstractAdapterNodechild - this nodepublic String getInputEncoding()
getInputEncoding in interface Documentpublic String getXmlEncoding()
getXmlEncoding in interface Documentpublic boolean getXmlStandalone()
getXmlStandalone in interface Documentpublic void setXmlStandalone(boolean b)
throws DOMException
setXmlStandalone in interface DocumentDOMExceptionpublic String getXmlVersion()
getXmlVersion in interface Documentpublic void setXmlVersion(String string) throws DOMException
setXmlVersion in interface DocumentDOMExceptionpublic boolean getStrictErrorChecking()
getStrictErrorChecking in interface Documentpublic void setStrictErrorChecking(boolean b)
setStrictErrorChecking in interface Documentpublic String getDocumentURI()
getDocumentURI in interface Documentpublic void setDocumentURI(String string)
setDocumentURI in interface Documentpublic Node adoptNode(Node node) throws DOMException
adoptNode in interface DocumentDOMExceptionpublic DOMConfiguration getDomConfig()
getDomConfig in interface Documentpublic void normalizeDocument()
normalizeDocument in interface Documentpublic Node renameNode(Node node, String string, String string1) throws DOMException
renameNode in interface DocumentDOMExceptionCopyright © 2000–2018 Apache Software Foundation. All rights reserved.