Package org.dlese.dpc.ndr.apiproxy
Class InputXMLComponent
java.lang.Object
org.dlese.dpc.ndr.apiproxy.InputXMLComponent
- Direct Known Subclasses:
DataComponent
Wrapper for the three main components of the
InputXML Object (Data,
Properties, and Relationships). For the specification of InputXML and it's
components, see
API Basics in the NDR API Documentation. InputXMLComponents consist of "commands", which specify criteria that is used for selection of, or assignment to NDR Objects. For example, the commands in the "find" request are used to select objects from the NDR, while the commands in the "addMetadata" request assign values to the Metadata object to be created.
The Component is represented as a dom4j.Element, with individual commands as subelements.
- Version:
- $Id: InputXMLComponent.java,v 1.3 2007/07/13 22:18:43 ostwald Exp $
- Author:
- ostwald
$Id $
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInputXMLComponent(String name) Constructor for the InputXMLComponent object of specified type ("relationship" -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCommand(String prop, String value) Adds a feature to the Command attribute of the InputXMLComponent objectvoidaddCommand(String prop, String value, String action) Adds a feature to the Command attribute of the InputXMLComponent object.voidaddCommand(org.dom4j.Element e, String action) Adds a feature to the Command attribute of the InputXMLComponent objectorg.dom4j.ElementNOT YET DOCUMENTEDprotected org.dom4j.ElementgetCommandParent(String cmd) Gets the commandParent attribute of the InputXMLComponent objectprotected static voidpp(org.dom4j.Node n) NOT YET DOCUMENTEDprotected static voidDescription of the Method
-
Field Details
-
name
NOT YET DOCUMENTED -
component
public org.dom4j.Element componentNOT YET DOCUMENTED
-
-
Constructor Details
-
InputXMLComponent
Constructor for the InputXMLComponent object of specified type ("relationship"- Parameters:
name- NOT YET DOCUMENTED
-
-
Method Details
-
addCommand
Adds a feature to the Command attribute of the InputXMLComponent object- Parameters:
prop- The feature to be added to the Command attributevalue- The feature to be added to the Command attribute
-
addCommand
Adds a feature to the Command attribute of the InputXMLComponent object.NOTE: Attempting to set a null value will cause the command to fail silently ...
- Parameters:
prop- The feature to be added to the Command attributevalue- The feature to be added to the Command attributeaction- The feature to be added to the Command attribute
-
addCommand
Adds a feature to the Command attribute of the InputXMLComponent object- Parameters:
e- The feature to be added to the Command attributeaction- The feature to be added to the Command attribute
-
getCommandParent
Gets the commandParent attribute of the InputXMLComponent object- Parameters:
cmd- NOT YET DOCUMENTED- Returns:
- The commandParent value
-
asElement
public org.dom4j.Element asElement()NOT YET DOCUMENTED- Returns:
- NOT YET DOCUMENTED
-
pp
protected static void pp(org.dom4j.Node n) NOT YET DOCUMENTED- Parameters:
n- NOT YET DOCUMENTED
-
prtln
Description of the Method- Parameters:
s- Description of the Parameter
-