Class DocumentType

Node
  |
  +--DocumentType

public class DocumentType
extends Node

Class representing the DOM DocumentType interface.


Field Summary
private  NamedNodeMap $elements
          A list off all defined elements and attributes.
private  NamedNodeMap $entities
          A list of all generall entities declared in the DTD.
DOM-Level 1
private  string $internalSubset
          Contains the documents internat subset as a string value.
DOM-Level 2
private  string $name
          The name of the DTD.
DOM-Level 1
private  NamedNodeMap $notations
          Contains a list of XML notation declarations.
DOM-Level 1
private  string $publicId
          The public identifier of the external subset.
DOM-Level 2
private  string $systemId
          The system identifier of the external subset.
DOM-Level 2
 
Fields inherited from class Node
$attributes, $childNodes, $firstChild, $lastChild, $localName, $namespaceURI, $nextSibling, $nodeID, $nodeName, $nodeType, $nodeValue, $ownerDocument, $parentNode, $prefix, $previousSibling, $readonly
 
Constructor Summary
DocumentType()
          Constructor of the class.
 
Method Summary
 NamedNodeMap getEntities()
          Returns a NamedNodeMap containing all general entities declared in the DTD.
DOM-Level 1
 string getInternalSubset()
          Returns the internal subset.
DOM-Level 2
 string getName()
          Returns the name of the DTD.
DOM-Level 1
 NamedNodeMap getNotations()
          Returns a NamedNodeMap containing all notations declared in the DTD.
DOM-Level 1
 string getPublicId()
          Returns the public identifier of an external subset.
DOM-Level 2
 string getSystemId()
          Returns the system identifier of an external subset.
DOM-Level 2
 
Methods inherited from class Node
appendChild, checkDocument, checkHierarchy, cloneNode, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix
 

Field Detail

$elements

private NamedNodeMap $elements
A list off all defined elements and attributes. This is not DOM standard!

$entities

private NamedNodeMap $entities
A list of all generall entities declared in the DTD.
DOM-Level 1

$name

private string $name
The name of the DTD.
DOM-Level 1

$notations

private NamedNodeMap $notations
Contains a list of XML notation declarations.
DOM-Level 1

$internalSubset

private string $internalSubset
Contains the documents internat subset as a string value.
DOM-Level 2

$publicId

private string $publicId
The public identifier of the external subset.
DOM-Level 2

$systemId

private string $systemId
The system identifier of the external subset.
DOM-Level 2
Constructor Detail

DocumentType

public DocumentType()
Constructor of the class.
Method Detail

getEntities

public NamedNodeMap getEntities()
Returns a NamedNodeMap containing all general entities declared in the DTD.
DOM-Level 1

getInternalSubset

public string getInternalSubset()
Returns the internal subset.
DOM-Level 2

getName

public string getName()
Returns the name of the DTD.
DOM-Level 1

getNotations

public NamedNodeMap getNotations()
Returns a NamedNodeMap containing all notations declared in the DTD.
DOM-Level 1

getPublicId

public string getPublicId()
Returns the public identifier of an external subset.
DOM-Level 2

getSystemId

public string getSystemId()
Returns the system identifier of an external subset.
DOM-Level 2