XMLDeclaration
public class ProcessingInstruction extends BasicNode implements TextNode
Constructor | Description |
---|---|
ProcessingInstruction(Token token) |
|
ProcessingInstruction(String target) |
|
ProcessingInstruction(String target,
String text) |
Modifier and Type | Method | 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()
TextNode
public ProcessingInstruction setText(String text)
TextNode
public ProcessingInstruction createClone()
Node
createClone
in interface Node
createClone
in class BasicNode
public ProcessingInstruction copy(Node orig)
Node
orig
into this
Copyright © 2008–2019. All rights reserved.