public class LocatedProcessingInstruction extends ProcessingInstruction implements Located
Content.CType
mapData, 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, toString
equals, getCType, getDocument, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getParent, getParentElement, hashCode
public 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()
Located
public int getColumn()
Located
public void setLine(int line)
Located
Copyright © 2021 Jason Hunter, Brett McLaughlin. All Rights Reserved.