railo.runtime.text.xml.struct
Class XMLDocumentStruct

java.lang.Object
  extended by railo.runtime.type.util.StructSupport
      extended by railo.runtime.text.xml.struct.XMLNodeStruct
          extended by railo.runtime.text.xml.struct.XMLDocumentStruct
All Implemented Interfaces:
Serializable, Cloneable, Map, Document, Node, Dumpable, Castable, XMLObject, XMLStruct, Collection, Iteratorable, Sizeable, Struct

public final class XMLDocumentStruct
extends XMLNodeStruct
implements Document

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface railo.runtime.type.Collection
Collection.Key
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.w3c.dom.Node
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
 
Fields inherited from interface railo.runtime.type.Struct
TYPE_LINKED, TYPE_REGULAR, TYPE_SYNC, TYPE_WEAKED
 
Method Summary
 Node adoptNode(Node arg0)
           
 Node cloneNode(boolean deep)
           
 Attr createAttribute(String name)
           
 Attr createAttributeNS(String namespaceURI, String qualifiedName)
           
 CDATASection createCDATASection(String data)
           
 Comment createComment(String data)
           
 DocumentFragment createDocumentFragment()
           
 Element createElement(String tagName)
           
 Element createElementNS(String namespaceURI, String qualifiedName)
           
 EntityReference createEntityReference(String name)
           
 ProcessingInstruction createProcessingInstruction(String target, String data)
           
 Text createTextNode(String data)
           
 Collection duplicate(boolean deepCopy)
           
 DocumentType getDoctype()
           
 Element getDocumentElement()
           
 String getDocumentURI()
           
 DOMConfiguration getDomConfig()
           
 Element getElementById(String elementId)
           
 NodeList getElementsByTagName(String tagname)
           
 NodeList getElementsByTagNameNS(String namespaceURI, String localName)
           
 DOMImplementation getImplementation()
           
 String getInputEncoding()
           
 boolean getStrictErrorChecking()
           
 String getXmlEncoding()
           
 boolean getXmlStandalone()
           
 String getXmlVersion()
           
 Node importNode(Node importedNode, boolean deep)
           
 void normalizeDocument()
           
 Node renameNode(Node arg0, String arg1, String arg2)
           
 void setDocumentURI(String arg0)
           
 void setStrictErrorChecking(boolean arg0)
           
 void setXmlStandalone(boolean arg0)
           
 void setXmlVersion(String arg0)
           
 
Methods inherited from class railo.runtime.text.xml.struct.XMLNodeStruct
appendChild, castToBoolean, castToBooleanValue, castToDateTime, castToDateTime, castToDoubleValue, castToDoubleValue, castToString, castToString, clear, compareDocumentPosition, compareTo, compareTo, compareTo, compareTo, containsKey, equals, get, get, getAttributes, getBaseURI, getCaseSensitive, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getMap, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, getXMLNodeList, hasAttributes, hasChildNodes, insertBefore, isCaseSensitive, isDefaultNamespace, isEqualNode, isSameNode, isSupported, keyIterator, keys, keysAsString, lookupNamespaceURI, lookupPrefix, normalize, remove, remove, removeChild, removeEL, replaceChild, set, setEL, setNodeValue, setPrefix, setTextContent, setUserData, size, toDumpData, toNode
 
Methods inherited from class railo.runtime.type.util.StructSupport
clone, containsKey, containsKey, containsValue, entrySet, get, get, get, invalidKey, isEmpty, iterator, keySet, put, putAll, remove, set, setEL, sizeOf, toString, valueIterator, values
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 
Methods inherited from interface railo.runtime.type.Collection
clone, containsKey, get, get, set, setEL
 
Methods inherited from interface railo.runtime.type.Iteratorable
iterator, valueIterator
 
Methods inherited from interface java.util.Map
containsKey, containsValue, entrySet, get, hashCode, isEmpty, keySet, put, putAll, remove, values
 

Method Detail

getImplementation

public DOMImplementation getImplementation()
Specified by:
getImplementation in interface Document
See Also:
Document.getImplementation()

createDocumentFragment

public DocumentFragment createDocumentFragment()
Specified by:
createDocumentFragment in interface Document
See Also:
Document.createDocumentFragment()

getDoctype

public DocumentType getDoctype()
Specified by:
getDoctype in interface Document
See Also:
Document.getDoctype()

getDocumentElement

public Element getDocumentElement()
Specified by:
getDocumentElement in interface Document
See Also:
Document.getDocumentElement()

createAttribute

public Attr createAttribute(String name)
                     throws DOMException
Specified by:
createAttribute in interface Document
Throws:
DOMException
See Also:
Document.createAttribute(java.lang.String)

createCDATASection

public CDATASection createCDATASection(String data)
                                throws DOMException
Specified by:
createCDATASection in interface Document
Throws:
DOMException
See Also:
Document.createCDATASection(java.lang.String)

createComment

public Comment createComment(String data)
Specified by:
createComment in interface Document
See Also:
Document.createComment(java.lang.String)

createElement

public Element createElement(String tagName)
                      throws DOMException
Specified by:
createElement in interface Document
Throws:
DOMException
See Also:
Document.createElement(java.lang.String)

getElementById

public Element getElementById(String elementId)
Specified by:
getElementById in interface Document
See Also:
Document.getElementById(java.lang.String)

createEntityReference

public EntityReference createEntityReference(String name)
                                      throws DOMException
Specified by:
createEntityReference in interface Document
Throws:
DOMException
See Also:
Document.createEntityReference(java.lang.String)

importNode

public Node importNode(Node importedNode,
                       boolean deep)
                throws DOMException
Specified by:
importNode in interface Document
Throws:
DOMException
See Also:
Document.importNode(org.w3c.dom.Node, boolean)

getElementsByTagName

public NodeList getElementsByTagName(String tagname)
Specified by:
getElementsByTagName in interface Document
See Also:
Document.getElementsByTagName(java.lang.String)

createTextNode

public Text createTextNode(String data)
Specified by:
createTextNode in interface Document
See Also:
Document.createTextNode(java.lang.String)

createAttributeNS

public Attr createAttributeNS(String namespaceURI,
                              String qualifiedName)
                       throws DOMException
Specified by:
createAttributeNS in interface Document
Throws:
DOMException
See Also:
Document.createAttributeNS(java.lang.String, java.lang.String)

createElementNS

public Element createElementNS(String namespaceURI,
                               String qualifiedName)
                        throws DOMException
Specified by:
createElementNS in interface Document
Throws:
DOMException
See Also:
Document.createElementNS(java.lang.String, java.lang.String)

getElementsByTagNameNS

public NodeList getElementsByTagNameNS(String namespaceURI,
                                       String localName)
Specified by:
getElementsByTagNameNS in interface Document
See Also:
Document.getElementsByTagNameNS(java.lang.String, java.lang.String)

createProcessingInstruction

public ProcessingInstruction createProcessingInstruction(String target,
                                                         String data)
                                                  throws DOMException
Specified by:
createProcessingInstruction in interface Document
Throws:
DOMException
See Also:
Document.createProcessingInstruction(java.lang.String, java.lang.String)

adoptNode

public Node adoptNode(Node arg0)
               throws DOMException
Specified by:
adoptNode in interface Document
Throws:
DOMException
See Also:
Document.adoptNode(org.w3c.dom.Node)

getDocumentURI

public String getDocumentURI()
Specified by:
getDocumentURI in interface Document
See Also:
Document.getDocumentURI()

getDomConfig

public DOMConfiguration getDomConfig()
Specified by:
getDomConfig in interface Document
See Also:
Document.getDomConfig()

getInputEncoding

public String getInputEncoding()
Specified by:
getInputEncoding in interface Document
See Also:
Document.getInputEncoding()

getStrictErrorChecking

public boolean getStrictErrorChecking()
Specified by:
getStrictErrorChecking in interface Document
See Also:
Document.getStrictErrorChecking()

getXmlEncoding

public String getXmlEncoding()
Specified by:
getXmlEncoding in interface Document
See Also:
Document.getXmlEncoding()

getXmlStandalone

public boolean getXmlStandalone()
Specified by:
getXmlStandalone in interface Document
See Also:
Document.getXmlStandalone()

getXmlVersion

public String getXmlVersion()
Specified by:
getXmlVersion in interface Document
See Also:
Document.getXmlVersion()

normalizeDocument

public void normalizeDocument()
Specified by:
normalizeDocument in interface Document
See Also:
Document.normalizeDocument()

renameNode

public Node renameNode(Node arg0,
                       String arg1,
                       String arg2)
                throws DOMException
Specified by:
renameNode in interface Document
Throws:
DOMException
See Also:
Document.renameNode(org.w3c.dom.Node, java.lang.String, java.lang.String)

setDocumentURI

public void setDocumentURI(String arg0)
Specified by:
setDocumentURI in interface Document
See Also:
Document.setDocumentURI(java.lang.String)

setStrictErrorChecking

public void setStrictErrorChecking(boolean arg0)
Specified by:
setStrictErrorChecking in interface Document
See Also:
Document.setStrictErrorChecking(boolean)

setXmlStandalone

public void setXmlStandalone(boolean arg0)
                      throws DOMException
Specified by:
setXmlStandalone in interface Document
Throws:
DOMException
See Also:
Document.setXmlStandalone(boolean)

setXmlVersion

public void setXmlVersion(String arg0)
                   throws DOMException
Specified by:
setXmlVersion in interface Document
Throws:
DOMException
See Also:
Document.setXmlVersion(java.lang.String)

duplicate

public Collection duplicate(boolean deepCopy)
Specified by:
duplicate in interface Collection
Overrides:
duplicate in class XMLNodeStruct
See Also:
Collection.duplicate(boolean)

cloneNode

public Node cloneNode(boolean deep)
Specified by:
cloneNode in interface Node
Overrides:
cloneNode in class XMLNodeStruct
See Also:
Node.cloneNode(boolean)


Copyright © 2012 Railo