|
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.Parameter
public class Parameter
Parameter component associated with a metadata schema.
The component is configured from a node with a schema configuration XML document. Example:
| Constructor Summary | |
|---|---|
Parameter()
Default constructor. |
|
Parameter(Parameter 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. |
Parameter |
duplicate()
Produces a deep clone of the object. |
void |
echo(StringBuffer sb)
Appends property information for the component to a StringBuffer. |
void |
evaluate(Schema schema,
Document dom,
XPath xpath)
Evaluates a parameter based upon the supplied metadata document. |
Content |
getContent()
Gets the Content component. |
Input |
getInput()
Gets the input component. |
Label |
getLabel()
Gets the label component. |
String |
getMeaningType()
Gets the meaning type. |
Validation |
getValidation()
Gets the validation component. |
boolean |
getVisible()
Gets the visible status. |
boolean |
getVisibleOnDetails()
Gets the status indicating if the parameter should be displayed on the view details page. |
void |
setContent(Content content)
Sets the Content component. |
void |
setInput(Input input)
Sets the input component. |
void |
setLabel(Label label)
Sets the label component. |
void |
setMeaningType(String type)
Sets the meaning type. |
void |
setValidation(Validation validation)
Sets the validation component. |
void |
setVisible(boolean visible)
Sets the visible status. |
void |
setVisibleOnDetails(boolean visible)
Sets the status indicating if the parameter should be displayed on the view details page. |
void |
unBind(UiContext context,
UIComponent editorForm)
Triggered on the save event from the metadata editor. |
void |
update(Document dom,
XPath xpath)
Updates the metadata document template based upon entered parameter value(s). |
void |
validate(Schema schema,
Section section)
Validates a parameter. |
| 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 Parameter()
public Parameter(Parameter objectToDuplicate)
objectToDuplicate - the object to duplicate| Method Detail |
|---|
public Content getContent()
public void setContent(Content content)
content - the Content componentpublic Input getInput()
public void setInput(Input input)
input - the input componentpublic Label getLabel()
public void setLabel(Label label)
label - the label componentpublic String getMeaningType()
public void setMeaningType(String type)
type - the meaning typepublic Validation getValidation()
public void setValidation(Validation validation)
validation - the validation componentpublic boolean getVisible()
public void setVisible(boolean visible)
visible - true if the parameter is visiblepublic boolean getVisibleOnDetails()
public void setVisibleOnDetails(boolean visible)
visible - true if the parameter should be displayed on the view details page
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 Parameter duplicate()
duplicate in class Componentpublic void echo(StringBuffer sb)
echo in class Componentsb - the StringBuffer to use when appending information
public void evaluate(Schema schema,
Document dom,
XPath xpath)
throws XPathExpressionException
schema - the schema being evaluateddom - the metadata documentxpath - an XPath object configured with an appropriate
Namespace context for the schema
XPathExpressionException - if an evaluation expression fails
public void unBind(UiContext context,
UIComponent editorForm)
throws SchemaException
context - the UI contexteditorForm - the Faces HtmlForm for the metadata editor
SchemaException - if an associated Faces UIComponent cannot be located
public void update(Document dom,
XPath xpath)
throws XPathExpressionException,
SchemaException
dom - the metadata document template for the schemaxpath - an XPath object configured with an appropriate
Namespace context for the schema
XPathExpressionException - if an expression fails
SchemaException - if the update fails
public void validate(Schema schema,
Section section)
schema - the schema being validatedsection - the section being validated
|
Esri Geoportal Server 1.0
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||