|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.gpt.catalog.schema.SchemaFactory
public class SchemaFactory
Provides a factory for instantiating schema component objects.
Constructor Summary | |
---|---|
SchemaFactory()
Default constructor. |
Method Summary | |
---|---|
PropertyMeanings |
loadPropertyMeanings()
Loads all property meanings from the gpt/metadata/property-meanings.xml configuration file. |
Schemas |
loadSchemas()
Loads all schemas from the gpt/metadata/schema.xml configuration file. |
Code |
newCode(CfgContext context,
Node node)
Instantiates and configures a new Code component. |
Content |
newContent(CfgContext context,
Node node)
Instantiates and configures a new Content component. |
Input |
newInput(CfgContext context,
Node node)
Instantiates and configures a new Label component. |
Interrogation |
newInterrogation(CfgContext context,
Node node)
Instantiates and configures a new Interrogation component. |
Label |
newLabel(CfgContext context,
Node node)
Instantiates and configures a new Label component. |
Namespace |
newNamespace(CfgContext context,
Node node)
Instantiates and configures a new Namespace component. |
Parameter |
newParameter(CfgContext context,
Node node)
Instantiates and configures a new Parameter component. |
Section |
newSection(CfgContext context,
Node node)
Instantiates and configures a new Section component. |
Validation |
newValidation(CfgContext context,
Node node)
Instantiates and configures a new Validation component. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SchemaFactory()
Method Detail |
---|
public PropertyMeanings loadPropertyMeanings() throws ParserConfigurationException, SAXException, IOException
ParserConfigurationException
- if configuration exception occurs
SAXException
- if an exception during xml parsing
IOException
- if an i/o exception occurs
ParserConfigurationException
- if error parsing configurationpublic Schemas loadSchemas() throws ParserConfigurationException, SAXException, IOException
ParserConfigurationException
- if configuration exception occurs
SAXException
- if an exception during xml parsing
IOException
- if an i/o exception occurspublic Code newCode(CfgContext context, Node node)
context
- the configuration contextnode
- the configuration node associated with the component
public Content newContent(CfgContext context, Node node)
context
- the configuration contextnode
- the configuration node associated with the component
public Input newInput(CfgContext context, Node node)
context
- the configuration contextnode
- the configuration node associated with the component
public Interrogation newInterrogation(CfgContext context, Node node)
context
- the configuration contextnode
- the configuration node associated with the component
public Label newLabel(CfgContext context, Node node)
context
- the configuration contextnode
- the configuration node associated with the component
public Namespace newNamespace(CfgContext context, Node node)
context
- the configuration contextnode
- the configuration node associated with the component
public Parameter newParameter(CfgContext context, Node node)
context
- the configuration contextnode
- the configuration node associated with the component
public Section newSection(CfgContext context, Node node)
context
- the configuration contextnode
- the configuration node associated with the component
public Validation newValidation(CfgContext context, Node node)
context
- the configuration contextnode
- the configuration node associated with the component
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |