public class XMLDOMDocumentType extends XMLDOMNode
Constructor and Description |
---|
XMLDOMDocumentType() |
Modifier and Type | Method and Description |
---|---|
Object |
getAttributes()
Returns the list of attributes for this element.
|
String |
getBaseName()
Returns the base name for the name qualified with the namespace.
|
DomDocumentType |
getDomNodeOrDie()
Returns the DOM node that corresponds to this JavaScript object or throw
an exception if one cannot be found.
|
Object |
getEntities()
Returns a list of the entities declared in the DOCTYPE declaration.
|
String |
getName()
Returns the name of the document type.
|
String |
getNodeName()
Returns the qualified name for attribute, document type, element, entity, or notation nodes.
|
Object |
getNotations()
Returns a list of the XMLDOMNotation objects present in the document type declaration.
|
Object |
getParentNode()
Returns the parent node.
|
Object |
getText()
Returns an empty string ("").
|
Object |
getXml()
Returns the XML representation of the node and all its descendants.
|
void |
setNodeValue(String newValue)
Attempting to set the value of document types generates an error.
|
void |
setText(Object value)
Attempting to set the text of document fragments generates an error.
|
appendChild, cloneNode, getChildNodes, getDataType, getDefinition, getFirstChild, getJavaScriptNode, getLastChild, getNamespaceURI, getNextSibling, getNodeType, getNodeValue, getOwnerDocument, getPrefix, getPreviousSibling, hasChildNodes, insertBefore, insertBeforeImpl, removeChild, replaceChild, selectNodes, selectSingleNode
getClassName, getEnvironment, getPrototype, isReadOnlySettable, makeScriptableFor, setEnvironment, setParentScope
clone, equivalentValues, get, getBrowserVersion, getDefaultValue, getDomNodeOrNull, getScriptableFor, getStartingScope, getWindow, getWindow, getWithPreemption, has, hasInstance, initParentScope, setCaseSensitive, setDomNode, setDomNode, setHtmlElement
defineFunctionProperties, defineProperty, setClassName
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public Object getAttributes()
getAttributes
in class XMLDOMNode
public String getBaseName()
getBaseName
in class XMLDOMNode
public Object getEntities()
public String getName()
public String getNodeName()
getNodeName
in class XMLDOMNode
public void setNodeValue(String newValue)
setNodeValue
in class XMLDOMNode
newValue
- the new value to setpublic Object getNotations()
public Object getParentNode()
getParentNode
in class XMLDOMNode
public Object getText()
getText
in class XMLDOMNode
public void setText(Object value)
setText
in class XMLDOMNode
value
- the new value for the contents of this nodepublic Object getXml()
getXml
in class XMLDOMNode
public DomDocumentType getDomNodeOrDie()
getDomNodeOrDie
in class SimpleScriptable
Copyright © 2002–2019 Gargoyle Software Inc.. All rights reserved.