com.plumtree.openfoundation.xml.dom
Class XPDocumentType

java.lang.Object
  extended bycom.plumtree.openfoundation.xml.dom.XPNode
      extended bycom.plumtree.openfoundation.xml.dom.XPDocumentType

public class XPDocumentType
extends XPNode

The XPDocumentType class is a wrapper for objects implementing org.w3c.dom.DocumentType interface. Please refer to DocumentType (Java 2 Platform SE v1.4.2) for detail information.

Author:
djc

Field Summary
 
Fields inherited from class com.plumtree.openfoundation.xml.dom.XPNode
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
protected XPDocumentType(org.w3c.dom.DocumentType docT)
          Creates a new XPDocumentType object.
 
Method Summary
 XPNamedNodeMap GetEntities()
          A XPNamedNodeMap containing the general entities, both external and internal, declared in the DTD.
 java.lang.String GetInternalSubset()
          The internal subset as a string, or null if there is none.
 java.lang.String GetName()
          The name of DTD; i.e., the name immediately following the DOCTYPE keyword.
 XPNamedNodeMap GetNotations()
          A XPNamedNodeMap containing the notations declared in the DTD.
 java.lang.String GetPublicID()
          The public identifier of the external subset.
 java.lang.String GetSystemID()
          The system identifier of the external subset.
 org.w3c.dom.Node GetUnderlyingObject()
          Retrieve the underlying org.w3c.dom.Node object.
 
Methods inherited from class com.plumtree.openfoundation.xml.dom.XPNode
AppendChild, CloneNode, GetAttributes, GetChildNodes, GetFirstChild, GetLastChild, GetLocalName, GetNamespaceURI, GetNextSibling, GetNodeName, GetNodeType, GetNodeValue, GetOwnerDocument, GetParentNode, GetPrefix, GetPreviousSibling, HasAttributes, HasChildNodes, InsertBefore, IsAttributeNode, IsCDATASectionNode, IsCommentNode, IsDocumentFragmentNode, IsDocumentNode, IsDocumentTypeNode, IsElementNode, IsProcessingInstructionNode, IsSupported, IsTextNode, Normalize, RemoveChild, ReplaceChild, SetNodeValue, SetPrefix, StoreNode
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPDocumentType

protected XPDocumentType(org.w3c.dom.DocumentType docT)
Creates a new XPDocumentType object.

Parameters:
docT - - underlying document type
Method Detail

GetEntities

public XPNamedNodeMap GetEntities()
A XPNamedNodeMap containing the general entities, both external and internal, declared in the DTD.

Returns:
the doc type's entities

GetInternalSubset

public java.lang.String GetInternalSubset()
The internal subset as a string, or null if there is none.

Returns:
the internal subset of the doc type

GetName

public java.lang.String GetName()
The name of DTD; i.e., the name immediately following the DOCTYPE keyword.

Returns:
doc type's name

GetNotations

public XPNamedNodeMap GetNotations()
A XPNamedNodeMap containing the notations declared in the DTD.

Returns:
doc type notations

GetPublicID

public java.lang.String GetPublicID()
The public identifier of the external subset.

Returns:
doc type's public id

GetSystemID

public java.lang.String GetSystemID()
The system identifier of the external subset.

Returns:
doc type's system id

GetUnderlyingObject

public org.w3c.dom.Node GetUnderlyingObject()
Description copied from class: XPNode
Retrieve the underlying org.w3c.dom.Node object.

Overrides:
GetUnderlyingObject in class XPNode
Returns:
the underlying doctype


Copyright 2002, 2003, 2004 Plumtree Software Inc. All Rights Reserved.