de.maas.afp2web
Class A2WDefaultDocumentWriter

java.lang.Object
  extended byde.maas.afp2web.A2WDefaultDocumentWriter
All Implemented Interfaces:
A2WDocumentWriter

public class A2WDefaultDocumentWriter
extends java.lang.Object
implements A2WDocumentWriter

AFP2web SDK's default document writer. Stores passed document buffer on file and write down the indexes and user data elements


Constructor Summary
A2WDefaultDocumentWriter()
           
 
Method Summary
 int write(A2WDocumentObject a2wDocObjectPar)
          Callback to write document with default definition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

A2WDefaultDocumentWriter

public A2WDefaultDocumentWriter()
Method Detail

write

public int write(A2WDocumentObject a2wDocObjectPar)
Callback to write document with default definition

Specified by:
write in interface A2WDocumentWriter
Parameters:
a2wDocObjectPar - Document object that has output buffer, index list and user data list

Returns:
  0 on Success
 <0 on Error