public class LocatedProcessingInstruction extends ProcessingInstruction implements Located
Content.CTypemapData, rawData, target| Constructor and Description |
|---|
LocatedProcessingInstruction(java.lang.String target)
This will create a new
ProcessingInstruction
with the specified target. |
LocatedProcessingInstruction(java.lang.String target,
java.util.Map<java.lang.String,java.lang.String> data)
This will create a new
ProcessingInstruction
with the specified target and data. |
LocatedProcessingInstruction(java.lang.String target,
java.lang.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(java.lang.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(java.lang.String target,
java.util.Map<java.lang.String,java.lang.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(java.lang.String target,
java.lang.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 © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.