public class MXMLInstructionData extends MXMLUnitData implements IMXMLInstructionData
index
UNKNOWN
Modifier and Type | Method and Description |
---|---|
String |
getContent()
Returns the content of the processing instruction.
|
String |
getInstructionText()
Returns the raw processing instruction.
|
String |
getTarget()
Returns the target of the processing instruction.
|
String |
toDumpString()
For debugging only.
|
String |
toString()
Displays line, column, start, end, and sourcepath in a format such as
"17:5 160-188 C:\test.as"
|
adjustOffsets, buildDumpString, containsOffset, getContainingTag, getContentEnd, getContentStart, getIndex, getMXMLDialect, getNext, getNextSiblingUnit, getNextTag, getParent, getParentUnitData, getParentUnitDataIndex, getPrevious, getSource, getTypeString, isCloseTag, isOpenAndNotEmptyTag, isOpenTag, isTag, isText, setLocation, setOffsets, setParentUnitDataIndex, verify
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, getStart, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, span
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
containsOffset, getContainingTag, getContentEnd, getContentStart, getIndex, getMXMLDialect, getNext, getNextSiblingUnit, getNextTag, getParent, getParentUnitData, getPrevious, getSource, isCloseTag, isOpenAndNotEmptyTag, isOpenTag, isTag, isText
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStart
public String toString()
SourceLocation
"17:5 160-188 C:\test.as"
toString
in class SourceLocation
public String toDumpString()
MXMLUnitData
toDumpString
in class MXMLUnitData
public String getInstructionText()
getInstructionText
in interface IMXMLInstructionData
public String getTarget()
IMXMLInstructionData
The target is the identifier that follows the <?
.
For example, for <?foo bar baz?>
the target is "foo"
.
getTarget
in interface IMXMLInstructionData
public String getContent()
IMXMLInstructionData
The content is everything that follows the whitespace after the target, up to the ?>
.
For example, for <?foo bar baz?>
the content is "bar baz"
.
getContent
in interface IMXMLInstructionData
Copyright © 2016 The Apache Software Foundation. All rights reserved.