public final class XMLDOMProcessingInstruction extends XMLDOMNode
Constructor and Description |
---|
XMLDOMProcessingInstruction() |
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.
|
String |
getData()
Returns the content of the processing instruction, excluding the target.
|
DomProcessingInstruction |
getDomNodeOrDie()
Returns the DOM node that corresponds to this JavaScript object or throw
an exception if one cannot be found.
|
String |
getTarget()
Returns the target for the processing instruction.
|
void |
setData(String data)
Sets the content of the processing instruction, excluding the target.
|
void |
setNodeValue(String newValue)
Attempting to set the value of document fragments generates an error.
|
void |
setText(Object newText)
Sets the text contained in the node.
|
appendChild, cloneNode, getChildNodes, getDataType, getDefinition, getFirstChild, getJavaScriptNode, getLastChild, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getText, getXml, 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, put, setClassName
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineOwnProperties, defineOwnProperty, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, get, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setPrototype, size
public Object getAttributes()
getAttributes
in class XMLDOMNode
public String getBaseName()
getBaseName
in class XMLDOMNode
public String getData()
public void setData(String data)
data
- the content of the processing instruction, excluding the targetpublic void setNodeValue(String newValue)
setNodeValue
in class XMLDOMNode
newValue
- the new value to setpublic String getTarget()
public void setText(Object newText)
setText
in class XMLDOMNode
newText
- the text contained in the nodepublic DomProcessingInstruction getDomNodeOrDie()
getDomNodeOrDie
in class SimpleScriptable
Copyright © 2002–2020 Gargoyle Software Inc.. All rights reserved.