|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.schemedit.input.InputField org.dlese.dpc.schemedit.input.AnyTypeInputField
public class AnyTypeInputField
Helper for translating between http request parameters and metadata elements.
The metadata editor creates request parameters named for the accessor each field uses
to obtain its value (e.g., valueOf(/itemRecord/lifecycle/contributors/contributor_2_/person/nameLast)). This class
stores information derived from the parameterName, such as the SchemaNode
for this field,
and provides information about this node that aids in the processing of its value.
Constructor Summary | |
---|---|
protected |
AnyTypeInputField(String paramName,
String value,
SchemaNode schemaNode,
String xpath,
InputManager inputManager)
AnyTypeInputField constructor. |
Method Summary | |
---|---|
String |
getParseError()
|
Element |
getValueElement()
|
boolean |
hasParseError()
|
boolean |
isEmpty()
|
String |
toString()
Debugging utility returns a string listing key fields and values. |
void |
updateIndexing(int index)
|
Methods inherited from class org.dlese.dpc.schemedit.input.InputField |
---|
getEntityErrors, getFieldName, getNormalizedXPath, getParamName, getSchemaNode, getValue, getXPath, hasEntityErrors, isAnyType, isAttribute, isElement, isNillable, setParamName, setValue, setXPath |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
protected AnyTypeInputField(String paramName, String value, SchemaNode schemaNode, String xpath, InputManager inputManager)
paramName
- paramName as received from the requestvalue
- Description of the ParameterschemaNode
- Description of the Parameterxpath
- Description of the ParameternormalizedXPath
- Description of the ParameterMethod Detail |
---|
public Element getValueElement()
public boolean isEmpty()
public boolean hasParseError()
public String getParseError()
public String toString()
toString
in class InputField
public void updateIndexing(int index)
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |