de.maas.afp2web
Class A2WDocumentObject

java.lang.Object
  extended byde.maas.afp2web.A2WDocumentObject

public class A2WDocumentObject
extends java.lang.Object

AFP2web SDK's DocumentObject. A class that stores Document information like output buffer, index list and user data list


Constructor Summary
A2WDocumentObject()
           
 
Method Summary
 java.util.LinkedList getIndexList()
           Get document index list
 java.io.InputStream getInputStream()
           Get document input stream
 java.io.ByteArrayOutputStream getOutputStream()
           Get document output stream
 java.util.Properties getProperties()
           Get document properties
 java.util.LinkedList getUserDataList()
           Get user data list
 void setIndexList(java.util.LinkedList lstIndexPar)
           Set document index list
 void setInputStream(java.io.InputStream isDataInPar)
          Set document input stream
 void setProperties(java.util.Properties propObjectPar)
           Set document properties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

A2WDocumentObject

public A2WDocumentObject()
Method Detail

setInputStream

public void setInputStream(java.io.InputStream isDataInPar)
Set document input stream


setIndexList

public void setIndexList(java.util.LinkedList lstIndexPar)

Set document index list


setProperties

public void setProperties(java.util.Properties propObjectPar)

Set document properties


getInputStream

public java.io.InputStream getInputStream()

Get document input stream

Returns:
  A InputStream to read document data
 


getOutputStream

public java.io.ByteArrayOutputStream getOutputStream()

Get document output stream

Returns:
  A ByteArrayOutputStream with Document output buffer
 


getIndexList

public java.util.LinkedList getIndexList()

Get document index list

Returns:
  A LinkedList with A2WIndex Objects that represents Document indexes
 


getUserDataList

public java.util.LinkedList getUserDataList()

Get user data list

Returns:
A LinkedList with A2WUserData Objects that represents Document user data.


getProperties

public java.util.Properties getProperties()

Get document properties

Returns:
 Properties of document