Package org.lobobrowser.html.domimpl
Class DocumentTypeImpl
- java.lang.Object
-
- org.lobobrowser.js.AbstractScriptableDelegate
-
- org.lobobrowser.html.domimpl.NodeImpl
-
- org.lobobrowser.html.domimpl.DocumentTypeImpl
-
- All Implemented Interfaces:
ModelNode
,ScriptableDelegate
,org.w3c.dom.DocumentType
,org.w3c.dom.Node
public class DocumentTypeImpl extends NodeImpl implements org.w3c.dom.DocumentType
-
-
Field Summary
-
Fields inherited from class org.lobobrowser.html.domimpl.NodeImpl
document, logger, nodeList, notificationsSuspended, parentNode, treeLock, uiNode
-
Fields inherited from interface org.w3c.dom.Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
-
-
Constructor Summary
Constructors Constructor Description DocumentTypeImpl(java.lang.String qname, java.lang.String publicId, java.lang.String systemId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.w3c.dom.Node
createSimilarNode()
Should create a node with some cloned properties, like the node name, but not attributes or children.org.w3c.dom.NamedNodeMap
getEntities()
java.lang.String
getInternalSubset()
java.lang.String
getLocalName()
java.lang.String
getName()
java.lang.String
getNodeName()
short
getNodeType()
java.lang.String
getNodeValue()
org.w3c.dom.NamedNodeMap
getNotations()
java.lang.String
getPublicId()
java.lang.String
getSystemId()
void
setNodeValue(java.lang.String nodeValue)
-
Methods inherited from class org.lobobrowser.html.domimpl.NodeImpl
appendChild, appendInnerHTMLImpl, appendInnerTextImpl, cloneNode, compareDocumentPosition, createRenderState, equalAttributes, findUINode, forgetRenderState, getAlignmentX, getAlignmentY, getAttributes, getBaseURI, getChildNodes, getChildren, getChildrenArray, getDescendents, getDocumentItem, getDocumentURL, getFeature, getFirstChild, getFullURL, getHtmlRendererContext, getInnerHTML, getInnerText, getLastChild, getNamespaceURI, getNextSibling, getNodeList, getOwnerDocument, getParentModelNode, getParentNode, getParentRenderState, getPrefix, getPreviousSibling, getRenderState, getTextContent, getUINode, getUserAgentContext, getUserData, hasAttributes, hasChildNodes, htmlEncodeChildText, informDocumentInvalid, informExternalScriptLoading, informInvalid, informLayoutInvalid, informLookInvalid, informNodeLoaded, informPositionInvalid, informSizeInvalid, informStructureInvalid, insertAfter, insertAt, insertBefore, isDefaultNamespace, isEqualNode, isEqualOrDescendentOf, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeAllChildren, removeAllChildrenImpl, removeChild, removeChildAt, removeChildren, removeChildrenImpl, replaceAdjacentTextNodes, replaceAdjacentTextNodes, replaceChild, setDocumentItem, setPrefix, setTextContent, setUINode, setUserData, toString, warn, warn
-
Methods inherited from class org.lobobrowser.js.AbstractScriptableDelegate
getScriptable, setScriptable
-
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, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getNamespaceURI, getNextSibling, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setPrefix, setTextContent, setUserData
-
-
-
-
Method Detail
-
getLocalName
public java.lang.String getLocalName()
- Specified by:
getLocalName
in interfaceorg.w3c.dom.Node
- Specified by:
getLocalName
in classNodeImpl
-
getNodeName
public java.lang.String getNodeName()
- Specified by:
getNodeName
in interfaceorg.w3c.dom.Node
- Specified by:
getNodeName
in classNodeImpl
-
getNodeValue
public java.lang.String getNodeValue() throws org.w3c.dom.DOMException
- Specified by:
getNodeValue
in interfaceorg.w3c.dom.Node
- Specified by:
getNodeValue
in classNodeImpl
- Throws:
org.w3c.dom.DOMException
-
setNodeValue
public void setNodeValue(java.lang.String nodeValue) throws org.w3c.dom.DOMException
- Specified by:
setNodeValue
in interfaceorg.w3c.dom.Node
- Specified by:
setNodeValue
in classNodeImpl
- Throws:
org.w3c.dom.DOMException
-
getNodeType
public short getNodeType()
- Specified by:
getNodeType
in interfaceorg.w3c.dom.Node
- Specified by:
getNodeType
in classNodeImpl
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceorg.w3c.dom.DocumentType
-
getEntities
public org.w3c.dom.NamedNodeMap getEntities()
- Specified by:
getEntities
in interfaceorg.w3c.dom.DocumentType
-
getNotations
public org.w3c.dom.NamedNodeMap getNotations()
- Specified by:
getNotations
in interfaceorg.w3c.dom.DocumentType
-
getPublicId
public java.lang.String getPublicId()
- Specified by:
getPublicId
in interfaceorg.w3c.dom.DocumentType
-
getSystemId
public java.lang.String getSystemId()
- Specified by:
getSystemId
in interfaceorg.w3c.dom.DocumentType
-
getInternalSubset
public java.lang.String getInternalSubset()
- Specified by:
getInternalSubset
in interfaceorg.w3c.dom.DocumentType
-
createSimilarNode
protected org.w3c.dom.Node createSimilarNode()
Description copied from class:NodeImpl
Should create a node with some cloned properties, like the node name, but not attributes or children.- Specified by:
createSimilarNode
in classNodeImpl
-
-