public interface IMXMLTagAttributeData extends ISourceLocation
UNKNOWN| Modifier and Type | Method and Description |
|---|---|
MXMLDialect |
getMXMLDialect()
Gets the MXML dialect used in the document containing this attribute.
|
String |
getName()
Gets the name of this attribute as written, such as
"s:width.over". |
IMXMLTagData |
getParent()
Gets the tag to which this attribute belongs.
|
String |
getPrefix()
Gets the prefix of this attribute.
|
String |
getRawValue()
Gets the value of this attribute as a String.
|
String |
getShortName()
Gets the short name of this attribute, not including the prefix or state.
|
String |
getStateName()
Gets the state name for this attribute.
|
String |
getURI()
Gets the URI of this attribute.
|
int |
getValueColumn()
Gets the column number of the start of the value of this attribute.
|
int |
getValueEnd()
Gets the ending offset of the value of this attribute.
|
ISourceFragment[] |
getValueFragments(Collection<ICompilerProblem> problems)
Gets the galue of this attribute as an array of source fragments.
|
int |
getValueLine()
Gets the line number of the start of the value of this attribute.
|
ISourceLocation |
getValueLocation()
Gets the source location of the start of the value of this attribute.
|
int |
getValueStart()
Gets the starting offset of the value of this attribute.
|
XMLName |
getXMLName()
Gets the name of this attribute as an
XMLName. |
boolean |
hasValue()
Returns
true if this attribute has a value. |
boolean |
isSpecialAttribute(String name)
Returns
true if this attribute has the specified short name
and it either has no prefix or has a prefix that maps to the language
URI. |
getAbsoluteEnd, getAbsoluteStart, getColumn, getEnd, getEndColumn, getEndLine, getLine, getSourcePath, getStartMXMLDialect getMXMLDialect()
MXMLDialect object.IMXMLTagData getParent()
String getName()
"s:width.over".String getPrefix()
If the attribute does not have a prefix, this method returns
null.
null.String getURI()
If the attribute does not have a prefix, this method returns
null.
null.String getShortName()
StringXMLName getXMLName()
XMLName.
This takes into account the prefix but not the state.
XMLName.String getStateName()
Stringboolean isSpecialAttribute(String name)
true if this attribute has the specified short name
and it either has no prefix or has a prefix that maps to the language
URI.true or false.boolean hasValue()
true if this attribute has a value.true or false.String getRawValue()
The delimiting quotes are not included.
ISourceFragment[] getValueFragments(Collection<ICompilerProblem> problems)
problems - The collection of compiler problems to which problems are
to be added.int getValueStart()
int getValueEnd()
int getValueLine()
int getValueColumn()
ISourceLocation getValueLocation()
Copyright © 2023 The Apache Software Foundation. All rights reserved.