com.caucho.xml2
Class QDocumentType

java.lang.Object
  extended by com.caucho.xml2.QAbstractNode
      extended by com.caucho.xml2.QNode
          extended by com.caucho.xml2.QDocumentType
All Implemented Interfaces:
CauchoNode, java.io.Serializable, org.w3c.dom.DocumentType, org.w3c.dom.Node

public class QDocumentType
extends QNode
implements org.w3c.dom.DocumentType

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.caucho.xml2.QNode
QNode.ChildNodeList
 
Field Summary
 
Fields inherited from class com.caucho.xml2.QNode
_firstChild, _lastChild
 
Fields inherited from class com.caucho.xml2.QAbstractNode
L
 
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
 
Constructor Summary
QDocumentType(java.lang.String name)
          Create a new document type.
QDocumentType(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
           
 
Method Summary
 com.caucho.xml2.QElementDef getElement(java.lang.String name)
           
 java.lang.String getElementId(java.lang.String element)
           
 java.util.Iterator getElementIdNames()
           
 org.w3c.dom.NamedNodeMap getEntities()
           
 java.lang.String getInternalSubset()
           
 java.lang.String getLocalName()
           
 java.lang.String getName()
           
 java.lang.String getNamespaceURI()
           
 java.lang.String getNodeName()
           
 short getNodeType()
           
 org.w3c.dom.NamedNodeMap getNotations()
           
 java.lang.String getPrefix()
           
 java.lang.String getPublicId()
           
 java.lang.String getSystemId()
           
 java.lang.String getTagName()
           
 void setLocation(java.lang.String filename, int line, int col)
           
 void setName(java.lang.String name)
           
protected  void setPublicId(java.lang.String publicId)
           
protected  void setSystemId(java.lang.String systemId)
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.xml2.QNode
appendChild, checkValid, equals, equals, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextPreorder, getNextSibling, getNodeValue, getPreviousSibling, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setNodeValue, setTextContent
 
Methods inherited from class com.caucho.xml2.QAbstractNode
baseURI, cloneNode, compareDocumentPosition, compareTreePosition, getBaseURI, getCanonicalName, getColumn, getDependencyList, getFeature, getFilename, getInterface, getLine, getNextContent, getOwnerDocument, getParentNode, getPreviousContent, getQName, getTextContent, getTextValue, getUserData, hasAttributes, hasContent, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespacePrefix, lookupNamespaceURI, lookupPrefix, print, printHtml, printPretty, setFeature, setLocation, setPrefix, setUserData, supports
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.w3c.dom.Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
 

Constructor Detail

QDocumentType

public QDocumentType(java.lang.String name)
Create a new document type.


QDocumentType

public QDocumentType(java.lang.String name,
                     java.lang.String publicId,
                     java.lang.String systemId)
Method Detail

getNodeName

public java.lang.String getNodeName()
Specified by:
getNodeName in interface org.w3c.dom.Node

getTagName

public java.lang.String getTagName()

getNodeType

public short getNodeType()
Specified by:
getNodeType in interface org.w3c.dom.Node

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface CauchoNode
Specified by:
getPrefix in interface org.w3c.dom.Node
Overrides:
getPrefix in class QAbstractNode

getLocalName

public java.lang.String getLocalName()
Specified by:
getLocalName in interface CauchoNode
Specified by:
getLocalName in interface org.w3c.dom.Node
Overrides:
getLocalName in class QAbstractNode

getNamespaceURI

public java.lang.String getNamespaceURI()
Specified by:
getNamespaceURI in interface CauchoNode
Specified by:
getNamespaceURI in interface org.w3c.dom.Node
Overrides:
getNamespaceURI in class QAbstractNode

getName

public java.lang.String getName()
Specified by:
getName in interface org.w3c.dom.DocumentType

setName

public void setName(java.lang.String name)

getEntities

public org.w3c.dom.NamedNodeMap getEntities()
Specified by:
getEntities in interface org.w3c.dom.DocumentType

getNotations

public org.w3c.dom.NamedNodeMap getNotations()
Specified by:
getNotations in interface org.w3c.dom.DocumentType

setLocation

public void setLocation(java.lang.String filename,
                        int line,
                        int col)

getElementId

public java.lang.String getElementId(java.lang.String element)

getElementIdNames

public java.util.Iterator getElementIdNames()

getSystemId

public java.lang.String getSystemId()
Specified by:
getSystemId in interface org.w3c.dom.DocumentType

setSystemId

protected void setSystemId(java.lang.String systemId)

getPublicId

public java.lang.String getPublicId()
Specified by:
getPublicId in interface org.w3c.dom.DocumentType

setPublicId

protected void setPublicId(java.lang.String publicId)

getInternalSubset

public java.lang.String getInternalSubset()
Specified by:
getInternalSubset in interface org.w3c.dom.DocumentType

getElement

public com.caucho.xml2.QElementDef getElement(java.lang.String name)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object