public class MXMLTextData extends MXMLUnitData implements IMXMLTextData
IMXMLTextData.TextType
index
UNKNOWN
Modifier and Type | Method and Description |
---|---|
String |
getCompilableText()
Gets this unit's compilable text as a String.
|
int |
getCompilableTextColumn()
Gets the column of this unit's compilable text.
|
int |
getCompilableTextEnd()
Gets the end of this unit's compilable text.
|
int |
getCompilableTextLine()
Gets the line of this unit's compilable text.
|
int |
getCompilableTextStart()
Gets the start of this unit's compilable text.
|
String |
getContent()
Gets the content of the text.
|
String |
getContents()
Return the text contained within this unit, without any opening or
closing delimiters
|
int |
getContentsColumn() |
int |
getContentsEnd() |
int |
getContentsLine() |
int |
getContentsStart() |
ISourceFragment[] |
getFragments(Collection<ICompilerProblem> problems)
Gets the source fragments that make up this text.
|
IMXMLTextData.TextType |
getTextType()
Gets the type of the text.
|
String |
getTypeString() |
boolean |
isText()
Is this MXML unit a block of text?
|
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, isCloseTag, isOpenAndNotEmptyTag, isOpenTag, isTag, 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
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 boolean isText()
IMXMLUnitData
isText
in interface IMXMLUnitData
isText
in class MXMLUnitData
public String getTypeString()
getTypeString
in class MXMLUnitData
public String toDumpString()
MXMLUnitData
toDumpString
in class MXMLUnitData
public String getContent()
IMXMLTextData
getContent
in interface IMXMLTextData
public IMXMLTextData.TextType getTextType()
IMXMLTextData
getTextType
in interface IMXMLTextData
IMXMLTextData.TextType
value.public String getCompilableText()
IMXMLTextData
Comments have no compilable text. The compilable text of a CDATA unit is the text between the .
getCompilableText
in interface IMXMLTextData
public int getCompilableTextStart()
IMXMLTextData
getCompilableTextStart
in interface IMXMLTextData
public int getCompilableTextEnd()
IMXMLTextData
getCompilableTextEnd
in interface IMXMLTextData
public int getCompilableTextLine()
IMXMLTextData
getCompilableTextLine
in interface IMXMLTextData
public int getCompilableTextColumn()
IMXMLTextData
getCompilableTextColumn
in interface IMXMLTextData
public String getContents()
public int getContentsStart()
public int getContentsEnd()
public int getContentsLine()
public int getContentsColumn()
public ISourceFragment[] getFragments(Collection<ICompilerProblem> problems)
IMXMLTextData
getFragments
in interface IMXMLTextData
problems
- A collection of compiler problems to add problems to.Copyright © 2016 The Apache Software Foundation. All rights reserved.