public class MXMLInstructionData extends MXMLUnitData implements IMXMLInstructionData
indexUNKNOWN| 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, verifygetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getLineColumnString, getOffsetsString, getSourcePath, getSourcePathString, getStart, setColumn, setEnd, setEndColumn, setEndLine, setLine, setSourceLocation, setSourcePath, setStart, span, spanclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcontainsOffset, getContainingTag, getContentEnd, getContentStart, getIndex, getMXMLDialect, getNext, getNextSiblingUnit, getNextTag, getParent, getParentUnitData, getPrevious, getSource, isCloseTag, isOpenAndNotEmptyTag, isOpenTag, isTag, isTextgetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic String toString()
SourceLocation"17:5 160-188 C:\test.as"
toString in class SourceLocationpublic String toDumpString()
MXMLUnitDatatoDumpString in class MXMLUnitDatapublic String getInstructionText()
getInstructionText in interface IMXMLInstructionDatapublic String getTarget()
IMXMLInstructionData
The target is the identifier that follows the <?.
For example, for <?foo bar baz?> the target is "foo".
getTarget in interface IMXMLInstructionDatapublic 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 IMXMLInstructionDataCopyright © 2016 The Apache Software Foundation. All rights reserved.