Package org.dlese.dpc.ndr.apiproxy
Class InputXML
java.lang.Object
org.dlese.dpc.ndr.apiproxy.InputXML
Class representing the payload for most
NdrRequests. See NDR APIBasics
for more information about the InputXML parameter.- Author:
- ostwald
-
Constructor Summary
ConstructorsConstructorDescriptionInputXML(NDRConstants.NDRObjectType objectType) Constructor for the InputXML object for the specified NDR object type. -
Method Summary
Modifier and TypeMethodDescriptionorg.dom4j.DocumentGet an org.dom4j.Document representation of the inputXML.asXML()Returns a String representation of the InputXML instance for use as a NdrRequest parameter.getData()Gets the data component of the InputXML object.Gets the properties component of the InputXML object.Gets the relationships component of the InputXML objectstatic voidThe main program for the InputXML class
-
Constructor Details
-
InputXML
Constructor for the InputXML object for the specified NDR object type.- Parameters:
objectType- NOT YET DOCUMENTED
-
-
Method Details
-
getProperties
Gets the properties component of the InputXML object.- Returns:
- The properties component.
-
getRelationships
Gets the relationships component of the InputXML object- Returns:
- the Relationships component.
-
getData
Gets the data component of the InputXML object. This is where the data streams invalid input: '&' serviceDescriptions are located.- Returns:
- The data component.
-
asDocument
public org.dom4j.Document asDocument()Get an org.dom4j.Document representation of the inputXML.- Returns:
- NOT YET DOCUMENTED
-
asXML
Returns a String representation of the InputXML instance for use as a NdrRequest parameter.- Returns:
- inputXML as XML string
-
main
The main program for the InputXML class- Parameters:
args- The command line arguments- Throws:
Exception- NOT YET DOCUMENTED
-