Modifier and Type | Field and Description |
---|---|
pack-priv static final long | serialVersionUID
Hides com. |
protected String |
Access | Constructor and Description |
---|---|
public | ProcessingInstructionImpl(CoreDocumentImpl ownerDoc, String target, String data)
Factory constructor. |
Modifier and Type | Method and Description |
---|---|
public String | Returns: The absolute base URI of this node or null.Overrides com. Implements org. Returns the absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI. |
public String | getData()
Overrides com. Implements org. A PI's data content tells the processor what we actually want it to do. |
public String | getNodeName()
Implements abstract com. Implements org. Returns the target |
public short | getNodeType()
Implements abstract com. Implements org. A short integer indicating what type of node this is. |
public String | getTarget()
Implements org. A PI's "target" states what processor channel the PI's data should be directed to. |
public void | setData(String data)
Overrides com. Implements org. Change the data content of this PI. |
serialVersionUID | back to summary |
---|---|
pack-priv static final long serialVersionUID Hides com. Serialization version. |
target | back to summary |
---|---|
protected String target |
ProcessingInstructionImpl | back to summary |
---|---|
public ProcessingInstructionImpl(CoreDocumentImpl ownerDoc, String target, String data) Factory constructor. |
getBaseURI | back to summary |
---|---|
public String getBaseURI() Overrides com. Implements org. Returns the absolute base URI of this node or null if the implementation wasn't able to obtain an absolute URI. Note If the URI is malformed, a null is returned.
|
getData | back to summary |
---|---|
public String getData() Overrides com. Implements org. A PI's data content tells the processor what we actually want it to do. It is defined slightly differently in HTML and XML.
In XML, the data begins with the non-whitespace character
immediately after the target &endash; see In HTML, the data begins with the character immediately after the "<?" token that begins the PI. Note that getNodeValue is aliased to getData |
getNodeName | back to summary |
---|---|
public String getNodeName() Implements abstract com. Implements org. Returns the target |
getNodeType | back to summary |
---|---|
public short getNodeType() Implements abstract com. Implements org. A short integer indicating what type of node this is. The named constants for this value are defined in the org.w3c.dom.Node interface. |
getTarget | back to summary |
---|---|
public String getTarget() Implements org. A PI's "target" states what processor channel the PI's data should be directed to. It is defined differently in HTML and XML. 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. |
setData | back to summary |
---|---|
public void setData(String data) Overrides com. Implements org. Change the data content of this PI. Note that setData is aliased to setNodeValue.
|