org.netbeans.modules.xml.xam.locator
Class CatalogModelFactory

java.lang.Object
  extended by org.netbeans.modules.xml.xam.locator.CatalogModelFactory
Direct Known Subclasses:
CatalogModelFactory.Default

public abstract class CatalogModelFactory
extends java.lang.Object

Returns a CatalogModel for a project

Author:
girix

Nested Class Summary
static class CatalogModelFactory.Default
           
 
Constructor Summary
CatalogModelFactory()
           
 
Method Summary
abstract  CatalogModel getCatalogModel(ModelSource modelSource)
          Given a ModelSource this method will return a Locator object specific to the it.
static CatalogModelFactory getDefault()
           
abstract  org.w3c.dom.ls.LSResourceResolver getLSResourceResolver()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CatalogModelFactory

public CatalogModelFactory()
Method Detail

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 org.w3c.dom.ls.LSResourceResolver getLSResourceResolver()

getDefault

public static CatalogModelFactory getDefault()