com.caucho.xml2
Class QDocumentType
java.lang.Object
com.caucho.xml2.QAbstractNode
com.caucho.xml2.QNode
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
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)
|
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 |
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)
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