public interface IXMLNameResolver
Modifier and Type | Method and Description |
---|---|
IDefinition |
resolveXMLNameToDefinition(XMLName tagXMLName,
MXMLDialect mxmlDialect)
Resolves an
XMLName , such as
("library://ns.adobe.com/flex/spark", "Button") for an
<s:Button> tag, to a class definition that the manifest
information has associated with the XML name. |
String |
resolveXMLNameToQualifiedName(XMLName tagXMLName,
MXMLDialect mxmlDialect)
Resolves an XML name, such as
("library://ns.adobe.com/flex/spark", "Button") for an
<s:Button> tag, to a fully-qualified ActionScript class name such
as "spark.components.Button" that the manifest information has associated
with the XML name. |
String resolveXMLNameToQualifiedName(XMLName tagXMLName, MXMLDialect mxmlDialect)
("library://ns.adobe.com/flex/spark", "Button")
for an
<s:Button>
tag, to a fully-qualified ActionScript class name such
as "spark.components.Button" that the manifest information has associated
with the XML name.
This method handles both manifest namespaces (such as in the above
example) and package namespaces such as MXMLFileScope.resolveTagToQualifiedName(IMXMLTagData)
should be used instead.
tagXMLName
- An XMLName
to resolve to a fully-qualified
ActionScript class name.mxmlDialect
- The MXMLDialect
of the document in which the
specified XMLName
was encountered.null
if the
tag has a manifest namespace and isn't found in the MXMLManifestManager.IDefinition resolveXMLNameToDefinition(XMLName tagXMLName, MXMLDialect mxmlDialect)
XMLName
, such as
("library://ns.adobe.com/flex/spark", "Button")
for an
<s:Button>
tag, to a class definition that the manifest
information has associated with the XML name.
This method handles both manifest namespaces (such as in the above
example) and package namespaces such as
tagXMLName
- XMLName
of a tag.mxmlDialect
- The MXMLDialect
of the document in which the
specified XMLName
was encountered.null
if
the tag has a manifest namespace and isn't found in the
MXMLManifestManager.Copyright © 2016 The Apache Software Foundation. All rights reserved.