|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.apache.xerces.dom.NodeImpl weblogic.apache.xerces.dom.ChildNode weblogic.apache.xerces.dom.CharacterDataImpl weblogic.apache.xerces.dom.ProcessingInstructionImpl
public class ProcessingInstructionImpl
Processing Instructions (PIs) permit documents to carry processor-specific information alongside their actual content. PIs are most common in XML, but they are supported in HTML as well. This class inherits from CharacterDataImpl to reuse its setNodeValue method.
This class is based on an implementation from the Apache XML Project. In future releases the XML parser, XSLT processor, and associated classes will likely be updated to be based on a later version of the Apache implementations. Since Apache does not guarantee backwards compatibility between versions of their software, we cannot guarantee backwards compatibility of any of the classes contained in the weblogic.apache package or sub-packages.
Field Summary | |
---|---|
protected String |
baseURI
Deprecated. |
protected String |
target
Deprecated. |
Fields inherited from class weblogic.apache.xerces.dom.CharacterDataImpl |
---|
data |
Fields inherited from class weblogic.apache.xerces.dom.ChildNode |
---|
nextSibling, previousSibling |
Fields inherited from class weblogic.apache.xerces.dom.NodeImpl |
---|
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IDATTRIBUTE, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODE, UNNORMALIZED |
Constructor Summary | |
---|---|
ProcessingInstructionImpl(CoreDocumentImpl ownerDoc,
String target,
String data)
Deprecated. Factory constructor. |
Method Summary | |
---|---|
String |
getBaseURI()
Deprecated. DOM Level 3 WD - Experimental. |
String |
getData()
Deprecated. A PI's data content tells the processor what we actually want it to do. |
String |
getNodeName()
Deprecated. Returns the target |
short |
getNodeType()
Deprecated. A short integer indicating what type of node this is. |
String |
getTarget()
Deprecated. A PI's "target" states what processor channel the PI's data should be directed to. |
void |
setBaseURI(String uri)
Deprecated. NON-DOM: set base uri |
void |
setData(String data)
Deprecated. Change the data content of this PI. |
Methods inherited from class weblogic.apache.xerces.dom.CharacterDataImpl |
---|
appendData, deleteData, getChildNodes, getLength, getNodeValue, insertData, replaceData, setNodeValue, setNodeValueInternal, substringData |
Methods inherited from class weblogic.apache.xerces.dom.ChildNode |
---|
cloneNode, getNextSibling, getParentNode, getPreviousSibling |
Methods inherited from class weblogic.apache.xerces.dom.NodeImpl |
---|
addEventListener, appendChild, changed, changes, compareTreePosition, dispatchEvent, getAttributes, getFirstChild, getInterface, getLastChild, getLocalName, getNamespaceURI, getOwnerDocument, getPrefix, getReadOnly, getTextContent, getUserData, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespacePrefix, lookupNamespaceURI, needsSyncChildren, normalize, removeChild, removeEventListener, replaceChild, setPrefix, setReadOnly, setTextContent, setUserData, setUserData, synchronizeData, toString |
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, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData |
Field Detail |
---|
protected String target
protected String baseURI
Constructor Detail |
---|
public ProcessingInstructionImpl(CoreDocumentImpl ownerDoc, String target, String data)
Method Detail |
---|
public short getNodeType()
getNodeType
in interface Node
getNodeType
in class NodeImpl
public String getNodeName()
getNodeName
in interface Node
getNodeName
in class NodeImpl
public String getTarget()
In XML, a PI's "target" is the first (whitespace-delimited) token following the "" token that begins the PI.
In HTML, target is always null.
Note that getNodeName is aliased to getTarget.
getTarget
in interface ProcessingInstruction
public String getData()
In XML, the data begins with the non-whitespace character immediately after the target -- @see getTarget().
In HTML, the data begins with the character immediately after the "<?" token that begins the PI.
Note that getNodeValue is aliased to getData
getData
in interface ProcessingInstruction
getData
in class CharacterDataImpl
public void setData(String data)
setData
in interface ProcessingInstruction
setData
in class CharacterDataImpl
DOMException(NO_MODIFICATION_ALLOWED_ERR)
- if node is read-only.ProcessingInstructionImpl.getData().
public String getBaseURI()
getBaseURI
in interface Node
getBaseURI
in class NodeImpl
public void setBaseURI(String uri)
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |