Top Fields Constructors Methods
com.sun.webkit.dom

public Class DocumentTypeImpl

extends NodeImpl
implements DocumentType
Class Inheritance
All Implemented Interfaces
org.w3c.dom.DocumentType, org.w3c.dom.Node
Imports
org.w3c.dom.DOMException, .DocumentType, .NamedNodeMap

Field Summary

Inherited from com.sun.webkit.dom.NodeImpl:
ATTRIBUTE_NODECDATA_SECTION_NODECOMMENT_NODEDOCUMENT_FRAGMENT_NODEDOCUMENT_NODEDOCUMENT_POSITION_CONTAINED_BYDOCUMENT_POSITION_CONTAINSDOCUMENT_POSITION_DISCONNECTEDDOCUMENT_POSITION_FOLLOWINGDOCUMENT_POSITION_IMPLEMENTATION_SPECIFICDOCUMENT_POSITION_PRECEDINGDOCUMENT_TYPE_NODEELEMENT_NODEENTITY_NODEENTITY_REFERENCE_NODENOTATION_NODEPROCESSING_INSTRUCTION_NODETEXT_NODE

Constructor Summary

AccessConstructor and Description
pack-priv
DocumentTypeImpl(long peer)

Method Summary

Modifier and TypeMethod and Description
public NamedNodeMap
getEntities()

Implements org.w3c.dom.DocumentType.getEntities.

A NamedNodeMap containing the general entities, both external and internal, declared in the DTD.

pack-priv static native long
getEntitiesImpl(long peer)

pack-priv static DocumentType
public String
getInternalSubset()

Implements org.w3c.dom.DocumentType.getInternalSubset.

The internal subset as a string, or null if there is none.

pack-priv static native String
public String
getName()

Implements org.w3c.dom.DocumentType.getName.

The name of DTD; i.e., the name immediately following the DOCTYPE keyword.

pack-priv static native String
getNameImpl(long peer)

public NamedNodeMap
getNotations()

Implements org.w3c.dom.DocumentType.getNotations.

A NamedNodeMap containing the notations declared in the DTD.

pack-priv static native long
getNotationsImpl(long peer)

public String
getPublicId()

Implements org.w3c.dom.DocumentType.getPublicId.

The public identifier of the external subset.

pack-priv static native String
getPublicIdImpl(long peer)

public String
getSystemId()

Implements org.w3c.dom.DocumentType.getSystemId.

The system identifier of the external subset.

pack-priv static native String
getSystemIdImpl(long peer)

public void
pack-priv static native void
removeImpl(long peer)

Inherited from com.sun.webkit.dom.NodeImpl:
addEventListeneraddEventListenerImplappendChildappendChildImplcloneNodecloneNodeImplcompareDocumentPositioncompareDocumentPositionImplcontainscontainsImplcreatecreateInterfacedispatchEventdispatchEventImplgetAttributesgetAttributesImplgetBaseURIgetBaseURIImplgetChildNodesgetChildNodesImplgetFeaturegetFirstChildgetFirstChildImplgetLastChildgetLastChildImplgetLocalNamegetLocalNameImplgetNamespaceURIgetNamespaceURIImplgetNextSiblinggetNextSiblingImplgetNodeNamegetNodeNameImplgetNodeTypegetNodeTypeImplgetNodeValuegetNodeValueImplgetOwnerDocumentgetOwnerDocumentImplgetParentElementgetParentElementImplgetParentNodegetParentNodeImplgetPeergetPrefixgetPrefixImplgetPreviousSiblinggetPreviousSiblingImplgetTextContentgetTextContentImplgetUserDatahasAttributeshasAttributesImplhasChildNodeshasChildNodesImplinsertBeforeinsertBeforeImplisDefaultNamespaceisDefaultNamespaceImplisEqualNodeisEqualNodeImplisSameNodeisSameNodeImplisSupportedisSupportedImpllookupNamespaceURIlookupNamespaceURIImpllookupPrefixlookupPrefixImplnormalizenormalizeImplremoveChildremoveChildImplremoveEventListenerremoveEventListenerImplreplaceChildreplaceChildImplsetNodeValuesetNodeValueImplsetPrefixsetPrefixImplsetTextContentsetTextContentImplsetUserDatatest_getHashCount

Constructor Detail

DocumentTypeImplback to summary
pack-priv DocumentTypeImpl(long peer)

Method Detail

getEntitiesback to summary
public NamedNodeMap getEntities()

Implements org.w3c.dom.DocumentType.getEntities.

Doc from org.w3c.dom.DocumentType.getEntities.

A NamedNodeMap containing the general entities, both external and internal, declared in the DTD. Parameter entities are not contained. Duplicates are discarded. For example in:

<!DOCTYPE
ex SYSTEM "ex.dtd" [ <!ENTITY foo "foo"> <!ENTITY bar
"bar"> <!ENTITY bar "bar2"> <!ENTITY % baz "baz">
]> <ex/>
the interface provides access to foo and the first declaration of bar but not the second declaration of bar or baz. Every node in this map also implements the Entity interface.
The DOM Level 2 does not support editing entities, therefore entities cannot be altered in any way.
getEntitiesImplback to summary
pack-priv static native long getEntitiesImpl(long peer)
getImplback to summary
pack-priv static DocumentType getImpl(long peer)

Hides com.sun.webkit.dom.NodeImpl.getImpl.

getInternalSubsetback to summary
public String getInternalSubset()

Implements org.w3c.dom.DocumentType.getInternalSubset.

Doc from org.w3c.dom.DocumentType.getInternalSubset.

The internal subset as a string, or null if there is none. This is does not contain the delimiting square brackets.

Note

The actual content returned depends on how much information is available to the implementation. This may vary depending on various parameters, including the XML processor used to build the document.

getInternalSubsetImplback to summary
pack-priv static native String getInternalSubsetImpl(long peer)
getNameback to summary
public String getName()

Implements org.w3c.dom.DocumentType.getName.

Doc from org.w3c.dom.DocumentType.getName.

The name of DTD; i.e., the name immediately following the DOCTYPE keyword.

getNameImplback to summary
pack-priv static native String getNameImpl(long peer)
getNotationsback to summary
public NamedNodeMap getNotations()

Implements org.w3c.dom.DocumentType.getNotations.

Doc from org.w3c.dom.DocumentType.getNotations.

A NamedNodeMap containing the notations declared in the DTD. Duplicates are discarded. Every node in this map also implements the Notation interface.
The DOM Level 2 does not support editing notations, therefore notations cannot be altered in any way.

getNotationsImplback to summary
pack-priv static native long getNotationsImpl(long peer)
getPublicIdback to summary
public String getPublicId()

Implements org.w3c.dom.DocumentType.getPublicId.

Doc from org.w3c.dom.DocumentType.getPublicId.

The public identifier of the external subset.

getPublicIdImplback to summary
pack-priv static native String getPublicIdImpl(long peer)
getSystemIdback to summary
public String getSystemId()

Implements org.w3c.dom.DocumentType.getSystemId.

Doc from org.w3c.dom.DocumentType.getSystemId.

The system identifier of the external subset. This may be an absolute URI or not.

getSystemIdImplback to summary
pack-priv static native String getSystemIdImpl(long peer)
removeback to summary
public void remove() throws DOMException
removeImplback to summary
pack-priv static native void removeImpl(long peer)