org.kuali.rice.kew.batch
Class InputStreamXmlDoc

java.lang.Object
  extended by org.kuali.rice.kew.batch.InputStreamXmlDoc
All Implemented Interfaces:
XmlDoc

public class InputStreamXmlDoc
extends Object

Xml document that is backed by an input stream

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
protected  XmlDocCollection collection
           
protected  String message
           
protected  boolean processed
           
 
Constructor Summary
InputStreamXmlDoc(InputStream inputStream)
           
InputStreamXmlDoc(String name, InputStream inputStream)
           
 
Method Summary
 XmlDocCollection getCollection()
           
 String getName()
           
 String getProcessingMessage()
           
 InputStream getStream()
           
 boolean isProcessed()
           
 void setProcessed(boolean processed)
           
 void setProcessingMessage(String message)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

collection

protected XmlDocCollection collection

processed

protected boolean processed

message

protected String message
Constructor Detail

InputStreamXmlDoc

public InputStreamXmlDoc(InputStream inputStream)

InputStreamXmlDoc

public InputStreamXmlDoc(String name,
                         InputStream inputStream)
Method Detail

getName

public String getName()

getStream

public InputStream getStream()
                      throws IOException
Throws:
IOException

getCollection

public XmlDocCollection getCollection()
Specified by:
getCollection in interface XmlDoc

toString

public String toString()
Overrides:
toString in class Object

isProcessed

public boolean isProcessed()
Specified by:
isProcessed in interface XmlDoc

setProcessed

public void setProcessed(boolean processed)
Specified by:
setProcessed in interface XmlDoc

getProcessingMessage

public String getProcessingMessage()
Specified by:
getProcessingMessage in interface XmlDoc

setProcessingMessage

public void setProcessingMessage(String message)
Specified by:
setProcessingMessage in interface XmlDoc


Copyright © 2004-2012 The Kuali Foundation. All Rights Reserved.