Package | Description |
---|---|
org.apache.flex.compiler.common |
This package contains miscellaneous classes and interfaces
used by other compiler packages.
|
org.apache.flex.compiler.internal.mxml |
This package is the internal counterpart of the external
org.apache.flex.compiler.mxml package. |
org.apache.flex.compiler.internal.parsing.mxml | |
org.apache.flex.compiler.mxml |
This package contains classes and interfaces that provide a syntactic
representation of MXML as tags and attributes, without any semantic
understanding of what those tags and attributes mean in MXML.
|
Modifier and Type | Class and Description |
---|---|
class |
MutablePrefixMap
This is a mutable version of a
PrefixMap that allows additions and
removals of namespaces |
Modifier and Type | Method and Description |
---|---|
PrefixMap |
PrefixMap.clone() |
PrefixMap |
MutablePrefixMap.toImmutable()
Creates an immutable version of this prefix map
|
Modifier and Type | Method and Description |
---|---|
void |
MutablePrefixMap.addAll(PrefixMap map)
Adds all information from one
PrefixMap to another |
void |
MutablePrefixMap.addAll(PrefixMap map,
boolean onlyIfUnique)
Adds all information from one
PrefixMap to another |
protected String |
PrefixedXMLName.resolvePrefix(String prefix,
PrefixMap prefixMap)
Determine which XML namespace is appropriate for the given prefix in the
given prefix map
|
Constructor and Description |
---|
MutablePrefixMap(PrefixMap map) |
PrefixedXMLName(String rawName,
PrefixMap prefixMap)
Constructor
|
PrefixMap(PrefixMap map) |
Modifier and Type | Method and Description |
---|---|
PrefixMap |
MXMLTagData.getCompositePrefixMap() |
PrefixMap |
MXMLTagAttributeData.getCompositePrefixMap()
Returns the
PrefixMap that represents all prefix->namespace
mappings are in play on this tag. |
PrefixMap |
MXMLData.getDocumentPrefixMap()
Returns a collection of prefix->namespaces mappings found within this
document.
|
PrefixMap |
MXMLTagData.getPrefixMap() |
PrefixMap |
MXMLData.getPrefixMapForData(IMXMLTagData data) |
static PrefixMap |
MXMLData.getRootNamespaces(Reader reader)
Get the namespaces defined on the root tag
|
PrefixMap |
MXMLData.getRootTagPrefixMap()
Returns the PrefixMap for the root tag of this
MXMLData object |
Modifier and Type | Method and Description |
---|---|
Map<IMXMLTagData,PrefixMap> |
MXMLData.getTagToPrefixMap() |
Modifier and Type | Method and Description |
---|---|
static MXMLDialect |
MXMLDialect.getMXMLDialect(PrefixMap rootPrefixMap)
Given a
PrefixMap representing the xmlns
attributes on the root tag, determines which dialect of MXML is being
used. |
void |
MXMLData.updateMXMLVersion(PrefixMap map)
Update the version of the mxml data
|
Modifier and Type | Method and Description |
---|---|
void |
MXMLData.setPrefixMappings(HashMap<IMXMLTagData,PrefixMap> map) |
Constructor and Description |
---|
MXMLData(List<MXMLToken> tokens,
PrefixMap map,
IFileSpecification fileSpec)
Constructor
|
MXMLData(List<MXMLToken> tokens,
PrefixMap map,
IFileSpecification fileSpec,
boolean shouldRepair) |
Modifier and Type | Method and Description |
---|---|
PrefixMap |
MXMLTokenizer.getPrefixMap()
If it exists, return the PrefixMap from the last parse
|
PrefixMap |
MXMLTokenizer.getRootTagPrefixMap()
Processes the given input and builds a
PrefixMap for the root tag found within this document |
Modifier and Type | Method and Description |
---|---|
IMXMLUnitData[] |
BalancingMXMLProcessor.balance(IMXMLUnitData[] data,
IMXMLData mxmlData,
Map<IMXMLTagData,PrefixMap> map) |
Modifier and Type | Method and Description |
---|---|
PrefixMap |
IMXMLTagData.getCompositePrefixMap()
Gets the namespace mapping that apply to this tag, taking ancestor tags
into account.
|
PrefixMap |
IMXMLTagData.getPrefixMap()
Gets the namespace mappings specified on this tag.
|
PrefixMap |
IMXMLData.getPrefixMapForData(IMXMLTagData data)
Returns the PrefixMap for the given
IMXMLTagData . |
Copyright © 2016 The Apache Software Foundation. All rights reserved.