public class InputXMLComponent
extends java.lang.Object
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.
$Id $
Modifier and Type | Field and Description |
---|---|
org.dom4j.Element |
component
NOT YET DOCUMENTED
|
java.lang.String |
name
NOT YET DOCUMENTED
|
Constructor and Description |
---|
InputXMLComponent(java.lang.String name)
Constructor for the InputXMLComponent object of specified type
("relationship"
|
Modifier and Type | Method and Description |
---|---|
void |
addCommand(org.dom4j.Element e,
java.lang.String action)
Adds a feature to the Command attribute of the InputXMLComponent object
|
void |
addCommand(java.lang.String prop,
java.lang.String value)
Adds a feature to the Command attribute of the InputXMLComponent object
|
void |
addCommand(java.lang.String prop,
java.lang.String value,
java.lang.String action)
Adds a feature to the Command attribute of the InputXMLComponent object.
|
org.dom4j.Element |
asElement()
NOT YET DOCUMENTED
|
protected org.dom4j.Element |
getCommandParent(java.lang.String cmd)
Gets the commandParent attribute of the InputXMLComponent object
|
protected static void |
pp(org.dom4j.Node n)
NOT YET DOCUMENTED
|
protected static void |
prtln(java.lang.String s)
Description of the Method
|
public java.lang.String name
public org.dom4j.Element component
public InputXMLComponent(java.lang.String name)
name
- NOT YET DOCUMENTEDpublic void addCommand(java.lang.String prop, java.lang.String value)
prop
- The feature to be added to the Command attributevalue
- The feature to be added to the Command attributepublic void addCommand(java.lang.String prop, java.lang.String value, java.lang.String action)
NOTE: Attempting to set a null value will cause the command to fail silently ...
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 attributepublic void addCommand(org.dom4j.Element e, java.lang.String action)
e
- The feature to be added to the Command attributeaction
- The feature to be added to the Command attributeprotected org.dom4j.Element getCommandParent(java.lang.String cmd)
cmd
- NOT YET DOCUMENTEDpublic org.dom4j.Element asElement()
protected static void pp(org.dom4j.Node n)
n
- NOT YET DOCUMENTEDprotected static void prtln(java.lang.String s)
s
- Description of the Parameter