|
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.indexable.IndexableProperty
public class IndexableProperty
An indexable property associated with a metadata schema.
Constructor Summary | |
---|---|
IndexableProperty()
Default constructor. |
|
IndexableProperty(IndexableProperty objectToDuplicate)
Construct by duplicating an existing object. |
Method Summary | |
---|---|
protected void |
addValue(IndexableContext context,
PropertyMeaning meaning,
String value)
Adds an evaluated value to the collection. |
void |
configure(CfgContext context,
Node node,
NamedNodeMap attributes)
Configures the object based upon a node loaded from a schema configuration XML. |
void |
evaluate(Schema schema,
IndexableContext context,
Document dom,
Node parent,
XPath xpath)
Evaluates the property based upon the supplied metadata document. |
List<IndexableProperty> |
getChildren()
Gets the child properties. |
String |
getEvaluatedValue()
Gets the first evaluated value. |
List<String> |
getEvaluatedValues()
Gets the evaluated values. |
String |
getMeaningName()
Gets the meaning name. |
protected String |
getTextContent(Node node,
boolean first)
Gets the text associated with a node. |
String |
getXPathExpression()
Gets the XPath expression. |
String |
getXPathType()
Gets the XPath expression result type. |
void |
resolve(Schema schema,
IndexableContext context,
IndexableProperty parent)
Resolves an evaluated property. |
void |
setChildren(List<IndexableProperty> children)
Sets the child properties. |
void |
setEvaluatedValues(List<String> values)
Sets the evaluated values. |
void |
setMeaningName(String name)
Sets the meaning name. |
void |
setXPathExpression(String expression)
Sets the XPath expression. |
void |
setXPathType(String xpathType)
Sets the XPath expression result type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IndexableProperty()
public IndexableProperty(IndexableProperty objectToDuplicate)
objectToDuplicate
- the object to duplicateMethod Detail |
---|
public List<IndexableProperty> getChildren()
public void setChildren(List<IndexableProperty> children)
children
- the child propertiespublic String getEvaluatedValue()
public List<String> getEvaluatedValues()
public void setEvaluatedValues(List<String> values)
values
- the evaluated valuespublic String getMeaningName()
public void setMeaningName(String name)
name
- the meaning namepublic String getXPathExpression()
public void setXPathExpression(String expression)
expression
- the XPath expressionpublic String getXPathType()
public void setXPathType(String xpathType)
xpathType
- the expression result typeprotected void addValue(IndexableContext context, PropertyMeaning meaning, String value)
context
- the active indexable contextmeaning
- the associated property meaningvalue
- the evaluated valuepublic void configure(CfgContext context, Node node, NamedNodeMap attributes)
context
- the configuration contextnode
- the configuration nodeattributes
- the attributes of the configuration nodepublic void evaluate(Schema schema, IndexableContext context, Document dom, Node parent, XPath xpath) throws XPathExpressionException
schema
- the schema being evaluatedcontext
- the active indexable contextdom
- the metadata documentparent
- the metadata document node the is actively being processed (can be null)xpath
- an XPath object configured with an appropriate
Namespace context for the schema
XPathExpressionException
- if an evaluation expression failsprotected String getTextContent(Node node, boolean first)
node
- the subject nodefirst
- if true, get the first text node associated with an element node
public void resolve(Schema schema, IndexableContext context, IndexableProperty parent)
schema
- the schema being evaluatedcontext
- the active indexable contextparent
- the parent property
|
Esri Geoportal Server 1.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |