public class ProcessingInstruction extends BasicNode implements TextNode
| Constructor and Description |
|---|
ProcessingInstruction(String target) |
ProcessingInstruction(String target,
String text) |
ProcessingInstruction(Token token) |
| Modifier and Type | Method and Description |
|---|---|
ProcessingInstruction |
copy()
Simulate clone()
|
ProcessingInstruction |
copy(Node orig)
Copy all data from
orig into this |
ProcessingInstruction |
createClone()
Simulate clone()
|
String |
getTarget() |
String |
getText()
Get the text from the node
|
void |
setTarget(String target) |
ProcessingInstruction |
setText(String text)
Change the text of the node.
|
protected void |
updateValue() |
public ProcessingInstruction(Token token)
public ProcessingInstruction(String target)
protected void updateValue()
public String getTarget()
public void setTarget(String target)
public String getText()
TextNodepublic ProcessingInstruction setText(String text)
TextNodepublic ProcessingInstruction createClone()
NodecreateClone in interface NodecreateClone in class BasicNodepublic ProcessingInstruction copy(Node orig)
Nodeorig into thisCopyright © 2008–2024. All rights reserved.