public interface IMXMLTextData extends IMXMLUnitData
Modifier and Type | Interface and Description |
---|---|
static class |
IMXMLTextData.TextType
Represents different kinds of text elements.
|
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.
|
ISourceFragment[] |
getFragments(Collection<ICompilerProblem> problems)
Gets the source fragments that make up this text.
|
IMXMLTextData.TextType |
getTextType()
Gets the type of the text.
|
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
IMXMLTextData.TextType getTextType()
IMXMLTextData.TextType
value.String getContent()
String getCompilableText()
Comments have no compilable text. The compilable text of a CDATA unit is the text between the .
int getCompilableTextStart()
int getCompilableTextEnd()
int getCompilableTextLine()
int getCompilableTextColumn()
ISourceFragment[] getFragments(Collection<ICompilerProblem> problems)
problems
- A collection of compiler problems to add problems to.Copyright © 2016 The Apache Software Foundation. All rights reserved.