|
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.Component com.esri.gpt.catalog.schema.Interrogation
public class Interrogation
Interrogation component associated with a metadata schema.
The component is configured from a node with a schema configuration XML document. Example:
Constructor Summary | |
---|---|
Interrogation()
Default constructor. |
|
Interrogation(Interrogation objectToDuplicate)
Construct by duplicating an existing object. |
Method Summary | |
---|---|
void |
configure(CfgContext context,
Node node,
NamedNodeMap attributes)
Configures the object based upon a node loaded from a schema configuration XML. |
Interrogation |
duplicate()
Produces a deep clone of the object. |
void |
echo(StringBuffer sb)
Appends property information for the component to a StringBuffer. |
String |
getCountExpression()
Gets the selection expression. |
int |
getMatchedNodeCount()
Gets the number of nodes matching the count expression. |
String |
getToKnownSchemaXslt()
Gets the XSLT (file path) for translating to a known schema. |
void |
interrogate(Schema schema,
Document dom,
XPath xpath)
Interrogates a metadata document by executing the configured XPath count expression for this interrogation object. |
void |
setCountExpression(String expression)
Sets the selection expression. |
void |
setMatchedNodeCount(int count)
Sets the number of nodes matching the count expression. |
void |
setToKnownSchemaXslt(String xslt)
Sets the XSLT (file path) for translating to a known schema. |
Methods inherited from class com.esri.gpt.catalog.schema.Component |
---|
getKey, setKey, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Interrogation()
public Interrogation(Interrogation objectToDuplicate)
objectToDuplicate
- the object to duplicateMethod Detail |
---|
public String getCountExpression()
public void setCountExpression(String expression)
expression
- the selection expressionpublic int getMatchedNodeCount()
public void setMatchedNodeCount(int count)
count
- the number of matching nodespublic String getToKnownSchemaXslt()
public void setToKnownSchemaXslt(String xslt)
xslt
- the file path to the XSLTpublic void configure(CfgContext context, Node node, NamedNodeMap attributes)
configure
in class Component
context
- the configuration contextnode
- the configuration nodeattributes
- the attributes of the configuration nodepublic Interrogation duplicate()
duplicate
in class Component
public void echo(StringBuffer sb)
echo
in class Component
sb
- the StringBuffer to use when appending informationpublic void interrogate(Schema schema, Document dom, XPath xpath) throws XPathExpressionException
schema
- the parent schemadom
- the metadata document to interrogatexpath
- an XPath object configured with an appropriate
Namespace context for the schema
XPathExpressionException
- if an evaluation expression fails
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |