org.netbeans.modules.xml.xam.locator
Class CatalogModelFactory
java.lang.Object
org.netbeans.modules.xml.xam.locator.CatalogModelFactory
- Direct Known Subclasses:
- CatalogModelFactory.Default
public abstract class CatalogModelFactory
- extends Object
Returns a CatalogModel for a project
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CatalogModelFactory
public CatalogModelFactory()
getCatalogModel
public abstract CatalogModel getCatalogModel(ModelSource modelSource)
throws CatalogModelException
- Given a ModelSource this method will return a Locator object specific to the it.
If there are initialization errors, CatalogModelException will be thrown.
- Parameters:
modelSource - a not null model source for which catalog model is requested.
- Throws:
org.netbeans.modules.xml.xam.locator.api.CatalogModelException
CatalogModelException
getLSResourceResolver
public abstract LSResourceResolver getLSResourceResolver()
getDefault
public static CatalogModelFactory getDefault()