public interface IMXMLDataManager
IMXMLDataManager of the IWorkspace maintains a cache of
IMXMLData objects that serve as DOMs for MXML files.
If an MXML file is used in multiple projects, its MXMLData can be
shared. Its symbol table and parse tree cannot be shared, because the meaning
of various MXML tags could be different in different projects.
| Modifier and Type | Method and Description |
|---|---|
IMXMLData |
get(IFileSpecification fileSpec)
Gets the
IMXMLData for the specified MXML file. |
void |
invalidate(IFileSpecification fileSpec)
Removes any cached
IMXMLData objects for the specified file. |
IMXMLData get(IFileSpecification fileSpec)
IMXMLData for the specified MXML file. If the manager
already has the IMXMLData for the file, it returns it. Otherwise,
it will parse the MXML file, store the IMXMLData, and return it.fileSpec - An IFileSpecification object specifying an MXML
file.IMXMLData object representing the tags, attributes, and
text in the MXML file.void invalidate(IFileSpecification fileSpec)
IMXMLData objects for the specified file.fileSpec - An IFileSpecification for the file being
invalidated.Copyright © 2016 The Apache Software Foundation. All rights reserved.