nu.validator.saxtree
Class DTD

java.lang.Object
  extended by nu.validator.saxtree.Node
      extended by nu.validator.saxtree.ParentNode
          extended by nu.validator.saxtree.DTD
All Implemented Interfaces:
org.xml.sax.Locator

public final class DTD
extends ParentNode

A doctype.

Version:
$Id$
Author:
hsivonen

Field Summary
 
Fields inherited from class nu.validator.saxtree.ParentNode
endLocator
 
Constructor Summary
DTD(org.xml.sax.Locator locator, java.lang.String name, java.lang.String publicIdentifier, java.lang.String systemIdentifier)
          The constructor.
 
Method Summary
 java.lang.String getName()
          Returns the name.
 NodeType getNodeType()
          Return the node type.
 java.lang.String getPublicIdentifier()
          Returns the publicIdentifier.
 java.lang.String getSystemIdentifier()
          Returns the systemIdentifier.
 
Methods inherited from class nu.validator.saxtree.ParentNode
appendChild, appendChildren, copyEndLocator, getFirstChild, getLastChild, insertBefore, insertBetween, setEndLocator
 
Methods inherited from class nu.validator.saxtree.Node
detach, getAttributes, getColumnNumber, getData, getLineNumber, getLocalName, getNextSibling, getParentNode, getPrefixMappings, getPreviousSibling, getPublicId, getQName, getSystemId, getTarget, getUri
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTD

public DTD(org.xml.sax.Locator locator,
           java.lang.String name,
           java.lang.String publicIdentifier,
           java.lang.String systemIdentifier)
The constructor.

Parameters:
locator - the locator
name - the name
publicIdentifier - the public id
systemIdentifier - the system id
Method Detail

getName

public java.lang.String getName()
Returns the name.

Overrides:
getName in class Node
Returns:
the name

getPublicIdentifier

public java.lang.String getPublicIdentifier()
Returns the publicIdentifier.

Overrides:
getPublicIdentifier in class Node
Returns:
the publicIdentifier

getSystemIdentifier

public java.lang.String getSystemIdentifier()
Returns the systemIdentifier.

Overrides:
getSystemIdentifier in class Node
Returns:
the systemIdentifier

getNodeType

public NodeType getNodeType()
Description copied from class: Node
Return the node type.

Specified by:
getNodeType in class Node
Returns:
the node type
See Also:
Node.getNodeType()