|
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.ndr.apiproxy.InputXMLComponent
public class InputXMLComponent
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.
$Id $
Field Summary | |
---|---|
Element |
component
NOT YET DOCUMENTED |
String |
name
NOT YET DOCUMENTED |
Constructor Summary | |
---|---|
InputXMLComponent(String name)
Constructor for the InputXMLComponent object of specified type ("relationship" |
Method Summary | |
---|---|
void |
addCommand(Element e,
String action)
Adds a feature to the Command attribute of the InputXMLComponent object |
void |
addCommand(String prop,
String value)
Adds a feature to the Command attribute of the InputXMLComponent object |
void |
addCommand(String prop,
String value,
String action)
Adds a feature to the Command attribute of the InputXMLComponent object. |
Element |
asElement()
NOT YET DOCUMENTED |
protected Element |
getCommandParent(String cmd)
Gets the commandParent attribute of the InputXMLComponent object |
protected static void |
pp(Node n)
NOT YET DOCUMENTED |
protected static void |
prtln(String s)
Description of the Method |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String name
public Element component
Constructor Detail |
---|
public InputXMLComponent(String name)
name
- NOT YET DOCUMENTEDMethod Detail |
---|
public void addCommand(String prop, String value)
prop
- The feature to be added to the Command attributevalue
- The feature to be added to the Command attributepublic void addCommand(String prop, String value, 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(Element e, String action)
e
- The feature to be added to the Command attributeaction
- The feature to be added to the Command attributeprotected Element getCommandParent(String cmd)
cmd
- NOT YET DOCUMENTED
public Element asElement()
protected static void pp(Node n)
n
- NOT YET DOCUMENTEDprotected static void prtln(String s)
s
- Description of the Parameter
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |