public class QDocumentType extends QNode implements org.w3c.dom.DocumentType
QNode.ChildNodeList
_firstChild, _lastChild
L
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 |
---|
QDocumentType(java.lang.String name)
Create a new document type.
|
QDocumentType(java.lang.String name,
java.lang.String publicId,
java.lang.String systemId) |
Modifier and Type | Method and Description |
---|---|
com.caucho.xml.QElementDef |
getElement(java.lang.String name) |
java.lang.String |
getElementId(java.lang.String element) |
java.util.Iterator |
getElementIdNames() |
java.util.HashMap<java.lang.String,com.caucho.xml.QElementDef> |
getElementMap() |
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() |
appendChild, checkValid, equals, equals, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextPreorder, getNextSibling, getNodeValue, getPreviousSibling, hasChildNodes, insertBefore, normalize, removeChild, replaceChild, setNodeValue, setTextContent
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
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public QDocumentType(java.lang.String name)
public QDocumentType(java.lang.String name, java.lang.String publicId, java.lang.String systemId)
public java.lang.String getNodeName()
getNodeName
in interface org.w3c.dom.Node
public java.lang.String getTagName()
public short getNodeType()
getNodeType
in interface org.w3c.dom.Node
public java.lang.String getPrefix()
getPrefix
in interface CauchoNode
getPrefix
in interface org.w3c.dom.Node
getPrefix
in class QAbstractNode
public java.lang.String getLocalName()
getLocalName
in interface CauchoNode
getLocalName
in interface org.w3c.dom.Node
getLocalName
in class QAbstractNode
public java.lang.String getNamespaceURI()
getNamespaceURI
in interface CauchoNode
getNamespaceURI
in interface org.w3c.dom.Node
getNamespaceURI
in class QAbstractNode
public java.lang.String getName()
getName
in interface org.w3c.dom.DocumentType
public void setName(java.lang.String name)
public org.w3c.dom.NamedNodeMap getEntities()
getEntities
in interface org.w3c.dom.DocumentType
public org.w3c.dom.NamedNodeMap getNotations()
getNotations
in interface org.w3c.dom.DocumentType
public void setLocation(java.lang.String filename, int line, int col)
public java.lang.String getElementId(java.lang.String element)
public java.util.Iterator getElementIdNames()
public java.lang.String getSystemId()
getSystemId
in interface org.w3c.dom.DocumentType
protected void setSystemId(java.lang.String systemId)
public java.lang.String getPublicId()
getPublicId
in interface org.w3c.dom.DocumentType
protected void setPublicId(java.lang.String publicId)
public java.lang.String getInternalSubset()
getInternalSubset
in interface org.w3c.dom.DocumentType
public com.caucho.xml.QElementDef getElement(java.lang.String name)
public java.util.HashMap<java.lang.String,com.caucho.xml.QElementDef> getElementMap()
public java.lang.String toString()
toString
in class java.lang.Object