public class LocatedProcessingInstruction extends ProcessingInstruction implements Located
Content.CTypemapData, rawData, target| Constructor and Description |
|---|
LocatedProcessingInstruction(String target)
This will create a new
ProcessingInstruction
with the specified target. |
LocatedProcessingInstruction(String target,
Map<String,String> data)
This will create a new
ProcessingInstruction
with the specified target and data. |
LocatedProcessingInstruction(String target,
String data)
This will create a new
ProcessingInstruction
with the specified target and data. |
| Modifier and Type | Method and Description |
|---|---|
int |
getColumn()
Get the column (character on the line).
|
int |
getLine()
Get the line number
|
void |
setColumn(int col)
Set the column (character on the line).
|
void |
setLine(int line)
Set the line number
|
clone, detach, getData, getPseudoAttributeNames, getPseudoAttributeValue, getTarget, getValue, removePseudoAttribute, setData, setData, setParent, setPseudoAttribute, setTarget, toStringequals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParent, getParentElement, hashCodepublic LocatedProcessingInstruction(String target)
ProcessingInstruction
with the specified target.target - String target of PI.IllegalTargetException - if the given target is illegal
as a processing instruction name.public LocatedProcessingInstruction(String target, Map<String,String> data)
ProcessingInstruction
with the specified target and data.target - String target of PI.data - Map data for PI, in
name/value pairsIllegalTargetException - if the given target is illegal
as a processing instruction name.public LocatedProcessingInstruction(String target, String data)
ProcessingInstruction
with the specified target and data.target - String target of PI.data - String data for PI.IllegalTargetException - if the given target is illegal
as a processing instruction name.public int getLine()
Locatedpublic int getColumn()
Locatedpublic void setLine(int line)
LocatedCopyright ? 2013 Jason Hunter, Brett McLaughlin. All Rights Reserved.