sdlip.xml.dom
Class DocumentImpl
java.lang.Object
|
+--sdlip.xml.dom.NodeImpl
|
+--sdlip.xml.dom.DocumentImpl
- public class DocumentImpl
- extends NodeImpl
- implements Document
Methods inherited from class sdlip.xml.dom.NodeImpl |
appendChild,
cloneNode,
getAttributes,
getChildNodes,
getFirstChild,
getLastChild,
getLength,
getNextSibling,
getNodeValue,
getOwnerDocument,
getParentNode,
getPreviousSibling,
hasChildNodes,
insertBefore,
item,
removeChild,
replaceChild,
setNodeValue |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
DocumentImpl
public DocumentImpl()
getDoctype
public org.w3c.dom.DocumentType getDoctype()
- Specified by:
- getDoctype in interface Document
getImplementation
public org.w3c.dom.DOMImplementation getImplementation()
- Specified by:
- getImplementation in interface Document
getDocumentElement
public Element getDocumentElement()
- Specified by:
- getDocumentElement in interface Document
setDocumentElement
protected void setDocumentElement(Element root)
createElement
public Element createElement(java.lang.String tagName)
throws org.w3c.dom.DOMException
- Specified by:
- createElement in interface Document
getNodeType
public short getNodeType()
- Returns the node type.
- Overrides:
- getNodeType in class NodeImpl
getNodeName
public java.lang.String getNodeName()
- Returns the node name.
- Overrides:
- getNodeName in class NodeImpl
createDocumentFragment
public org.w3c.dom.DocumentFragment createDocumentFragment()
- Specified by:
- createDocumentFragment in interface Document
createTextNode
public org.w3c.dom.Text createTextNode(java.lang.String data)
- Specified by:
- createTextNode in interface Document
createComment
public org.w3c.dom.Comment createComment(java.lang.String data)
- Specified by:
- createComment in interface Document
createCDATASection
public org.w3c.dom.CDATASection createCDATASection(java.lang.String data)
throws org.w3c.dom.DOMException
- Specified by:
- createCDATASection in interface Document
createProcessingInstruction
public org.w3c.dom.ProcessingInstruction createProcessingInstruction(java.lang.String target,
java.lang.String data)
throws org.w3c.dom.DOMException
- Specified by:
- createProcessingInstruction in interface Document
createAttribute
public org.w3c.dom.Attr createAttribute(java.lang.String name)
throws org.w3c.dom.DOMException
- Specified by:
- createAttribute in interface Document
createEntityReference
public org.w3c.dom.EntityReference createEntityReference(java.lang.String name)
throws org.w3c.dom.DOMException
- Specified by:
- createEntityReference in interface Document
getElementsByTagName
public org.w3c.dom.NodeList getElementsByTagName(java.lang.String tagname)
- Specified by:
- getElementsByTagName in interface Document
registerNamespace
public void registerNamespace(java.lang.String ns,
java.lang.String abb)
registerNamespace
public void registerNamespace(java.lang.String ns)
getNamespaces
protected java.util.Hashtable getNamespaces(Element element)
getShort
public java.lang.String getShort(java.util.Hashtable namespaces,
java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
- toString in class NodeImpl