com.americancoders.ebXML
Class Manifest

java.lang.Object
  |
  +--com.americancoders.ebXML.Manifest

class Manifest
extends java.lang.Object

The Manifest is a REQUIRED element that contains a list of references to he other parts of the Message. This includes references to the documents, which comprise the Payload of the Message.


Field Summary
private  DocumentReference documentReference
           
private  java.util.Vector documentReferences
           
 
Constructor Summary
Manifest()
          constructor, one of a few classes that has a constructor so that the vector object to hold DocumentReferences can be instantiated
 
Method Summary
 void addDocumentReference(DocumentReference inDocumentReference)
          method to add a DocumentReference object to Vector documentReferences
 DocumentReference getDocumentReference()
          method to get DocumentReference
 java.util.Vector getDocumentReferences()
          method to return a Vector of DocumentReferences
 java.lang.String getXML(int depth)
          method to build an XML string of this and its subordinate objects
 void setDocumentReference(DocumentReference inDocumentReference)
          method to set DocumentReference
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

documentReferences

private java.util.Vector documentReferences

documentReference

private DocumentReference documentReference
Constructor Detail

Manifest

public Manifest()
constructor, one of a few classes that has a constructor so that the vector object to hold DocumentReferences can be instantiated
Method Detail

addDocumentReference

public void addDocumentReference(DocumentReference inDocumentReference)
method to add a DocumentReference object to Vector documentReferences
Parameters:
DocumentReference - inDocumentReference

getDocumentReferences

public java.util.Vector getDocumentReferences()
method to return a Vector of DocumentReferences
Returns:
Vector

setDocumentReference

public void setDocumentReference(DocumentReference inDocumentReference)
method to set DocumentReference
Parameters:
DocumentReference - inDocumentReference

getDocumentReference

public DocumentReference getDocumentReference()
method to get DocumentReference
Returns:
DocumentReference

getXML

public java.lang.String getXML(int depth)
method to build an XML string of this and its subordinate objects
Parameters:
int - depth - how many multiple of 4 spaces to add in front of text
Returns:
String - XML text