|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.jfacets.impl.FacetDescriptorManager
public class FacetDescriptorManager
The FacetDescriptorManager : handles loading of descriptors from an XML resource, and provides access to them.
| Constructor Summary | |
|---|---|
FacetDescriptorManager(String facetsFilePath)
Creates the manager and loads descriptors. |
|
| Method Summary | |
|---|---|
FacetDescriptor |
getDescriptor(String name,
String profileId,
Class targetObjectType)
returns the descriptor for passed parameters, null if not found. |
FacetDescriptor[] |
getDescriptors()
returns an array of all loaded descriptors |
protected int |
loadDescriptors()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FacetDescriptorManager(String facetsFilePath)
throws IOException,
ParserConfigurationException,
SAXException,
FactoryConfigurationError
facetsFilePath - The path of the facets XML descriptor to be used (CLASSPATH resource)
IOException
ParserConfigurationException
SAXException
FactoryConfigurationError| Method Detail |
|---|
protected int loadDescriptors()
throws IOException,
ParserConfigurationException,
SAXException,
FactoryConfigurationError
IOException
ParserConfigurationException
SAXException
FactoryConfigurationErrorpublic FacetDescriptor[] getDescriptors()
getDescriptors in interface IFacetDescriptorManager
public FacetDescriptor getDescriptor(String name,
String profileId,
Class targetObjectType)
getDescriptor in interface IFacetDescriptorManager
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||