|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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 duplicate| Method 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 XSLT
public void configure(CfgContext context,
Node node,
NamedNodeMap attributes)
configure in class Componentcontext - the configuration contextnode - the configuration nodeattributes - the attributes of the configuration nodepublic Interrogation duplicate()
duplicate in class Componentpublic void echo(StringBuffer sb)
echo in class Componentsb - the StringBuffer to use when appending information
public 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 | ||||||||