|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.novell.xml.dom.NodeImpl
com.novell.xml.dom.DocumentTypeImpl
public class DocumentTypeImpl
Novell implementation of DOM level 2 DocumentType interface
| Field Summary |
|---|
| Fields inherited from class com.novell.xml.dom.NodeImpl |
|---|
allowedChildren, baseURI, changeCount, document, documentOrderVal, expandedName, firstChild, lastChild, localName, namespaceURI, nextOrderVal, nextSibling, nodeName, nodeValue, parentNode, prefix, previousSibling, toStringSerializes, xmlnsPrefix, xmlPrefix, xpathBehavior |
| Constructor Summary | |
|---|---|
protected |
DocumentTypeImpl(DocumentImpl owner,
String name,
String publicId,
String systemId,
String internalSubset)
|
| Method Summary | |
|---|---|
Node |
cloneNode(boolean deep)
Returns a duplicate of this node, i.e., serves as a generic copy constructor for nodes. |
NamedNodeMap |
getEntities()
A NamedNodeMap containing the general entities, both
external and internal, declared in the DTD. |
String |
getInternalSubset()
The internal subset as a string.The actual content returned depends on how much information is available to the implementation. |
String |
getName()
The name of DTD; i.e., the name immediately following the DOCTYPE keyword. |
short |
getNodeType()
A code representing the type of the underlying object, as defined above. |
NamedNodeMap |
getNotations()
A NamedNodeMap containing the notations declared in the
DTD. |
String |
getPublicId()
The public identifier of the external subset. |
String |
getSystemId()
The system identifier of the external subset. |
void |
setInternalSubset(String internalSubset)
Set the internal subset non-DOM |
void |
setName(String name)
Set the name of the DTD non-DOM |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, 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, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
| Constructor Detail |
|---|
protected DocumentTypeImpl(DocumentImpl owner,
String name,
String publicId,
String systemId,
String internalSubset)
| Method Detail |
|---|
public short getNodeType()
getNodeType in interface NodegetNodeType in class NodeImplpublic Node cloneNode(boolean deep)
parentNode returns null.).
Element copies all attributes and their
values, including those generated by the XML processor to represent
defaulted attributes, but this method does not copy any text it contains
unless it is a deep clone, since the text is contained in a child
Text node. Cloning any other type of node simply returns a
copy of this node.
cloneNode in interface NodecloneNode in class NodeImpldeep - If true, recursively clone the subtree under the
specified node; if false, clone only the node itself (and
its attributes, if it is an Element).
public String getName()
DOCTYPE keyword.
getName in interface DocumentTypepublic NamedNodeMap getEntities()
NamedNodeMap containing the general entities, both
external and internal, declared in the DTD. Duplicates are discarded.
For example in:<!DOCTYPE ex SYSTEM "ex.dtd" [ <!ENTITY foo
"foo"> <!ENTITY bar "bar"> <!ENTITY % baz "baz">]>
<ex/> the interface provides access to foo and
bar but not baz. Every node in this map also
implements the Entity interface.
entities cannot be altered in any way.
getEntities in interface DocumentTypepublic NamedNodeMap getNotations()
NamedNodeMap containing the notations declared in the
DTD. Duplicates are discarded. Every node in this map also implements
the Notation interface.
notations cannot be altered in any way.
getNotations in interface DocumentTypepublic void setName(String name)
name - The name to setpublic String getPublicId()
getPublicId in interface DocumentTypepublic String getSystemId()
getSystemId in interface DocumentTypepublic String getInternalSubset()
getInternalSubset in interface DocumentTypepublic void setInternalSubset(String internalSubset)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||