public class MXMLTextData extends MXMLUnitData implements IMXMLTextData
IMXMLTextData.TextTypeindexUNKNOWN| 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, 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, isTaggetAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartpublic String toString()
SourceLocation"17:5 160-188 C:\test.as"
toString in class SourceLocationpublic boolean isText()
IMXMLUnitDataisText in interface IMXMLUnitDataisText in class MXMLUnitDatapublic String getTypeString()
getTypeString in class MXMLUnitDatapublic String toDumpString()
MXMLUnitDatatoDumpString in class MXMLUnitDatapublic String getContent()
IMXMLTextDatagetContent in interface IMXMLTextDatapublic IMXMLTextData.TextType getTextType()
IMXMLTextDatagetTextType in interface IMXMLTextDataIMXMLTextData.TextType value.public String getCompilableText()
IMXMLTextDataComments have no compilable text. The compilable text of a CDATA unit is the text between the .
getCompilableText in interface IMXMLTextDatapublic int getCompilableTextStart()
IMXMLTextDatagetCompilableTextStart in interface IMXMLTextDatapublic int getCompilableTextEnd()
IMXMLTextDatagetCompilableTextEnd in interface IMXMLTextDatapublic int getCompilableTextLine()
IMXMLTextDatagetCompilableTextLine in interface IMXMLTextDatapublic int getCompilableTextColumn()
IMXMLTextDatagetCompilableTextColumn in interface IMXMLTextDatapublic String getContents()
public int getContentsStart()
public int getContentsEnd()
public int getContentsLine()
public int getContentsColumn()
public ISourceFragment[] getFragments(Collection<ICompilerProblem> problems)
IMXMLTextDatagetFragments in interface IMXMLTextDataproblems - A collection of compiler problems to add problems to.Copyright © 2016 The Apache Software Foundation. All rights reserved.