Package com.jsevy.jxml
Class XMLDocumentType
- java.lang.Object
-
- com.jsevy.jxml.XMLNode
-
- com.jsevy.jxml.XMLDocumentType
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.w3c.dom.DocumentType
,org.w3c.dom.Node
public class XMLDocumentType extends XMLNode implements org.w3c.dom.DocumentType
-
-
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
-
-
Constructor Summary
Constructors Constructor Description XMLDocumentType()
XMLDocumentType(java.lang.String name)
XMLDocumentType(java.lang.String name, java.lang.String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addEntity(org.w3c.dom.Entity entity)
void
addNotation(org.w3c.dom.Notation notation)
org.w3c.dom.Node
cloneNode(boolean deep)
org.w3c.dom.NamedNodeMap
getEntities()
java.lang.String
getInternalSubset()
java.lang.String
getName()
short
getNodeType()
org.w3c.dom.NamedNodeMap
getNotations()
java.lang.String
getPublicId()
java.lang.String
getSystemId()
java.lang.String
getTextContent()
void
setInternalSubset(java.lang.String internalSubset)
void
setPublicId(java.lang.String publicId)
void
setSystemId(java.lang.String systemId)
-
Methods inherited from class com.jsevy.jxml.XMLNode
appendChild, clone, compareDocumentPosition, equals, getAttributes, getBaseURI, getChildNodes, getDescendants, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertAfter, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, prependChild, removeChild, replaceChild, setNamespaceURI, setNodeName, setNodeValue, setOwnerDocument, setParentNode, setPrefix, setTextContent, setUserData
-
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.w3c.dom.Node
appendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
-
-
-
Method Detail
-
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interfaceorg.w3c.dom.Node
-
cloneNode
public org.w3c.dom.Node cloneNode(boolean deep)
-
getTextContent
public java.lang.String getTextContent() throws org.w3c.dom.DOMException
- Specified by:
getTextContent
in interfaceorg.w3c.dom.Node
- Throws:
org.w3c.dom.DOMException
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceorg.w3c.dom.DocumentType
-
getEntities
public org.w3c.dom.NamedNodeMap getEntities()
- Specified by:
getEntities
in interfaceorg.w3c.dom.DocumentType
-
addEntity
public void addEntity(org.w3c.dom.Entity entity)
-
getNotations
public org.w3c.dom.NamedNodeMap getNotations()
- Specified by:
getNotations
in interfaceorg.w3c.dom.DocumentType
-
addNotation
public void addNotation(org.w3c.dom.Notation notation)
-
getPublicId
public java.lang.String getPublicId()
- Specified by:
getPublicId
in interfaceorg.w3c.dom.DocumentType
-
setPublicId
public void setPublicId(java.lang.String publicId)
-
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemId
in interfaceorg.w3c.dom.DocumentType
-
setSystemId
public void setSystemId(java.lang.String systemId)
-
getInternalSubset
public java.lang.String getInternalSubset()
- Specified by:
getInternalSubset
in interfaceorg.w3c.dom.DocumentType
-
setInternalSubset
public void setInternalSubset(java.lang.String internalSubset)
-
-