org.netbeans.modules.xml.xam/1 1.18.0 1

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 Object

Returns a CatalogModel for a project


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  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 LSResourceResolver getLSResourceResolver()

getDefault

public static CatalogModelFactory getDefault()

org.netbeans.modules.xml.xam/1 1.18.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.