org.kuali.rice.kew.batch
Class FileXmlDoc

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

 class FileXmlDoc
extends BaseXmlDoc

An XmlDoc implementation backed by a physical XML File

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
XmlDoc, BaseXmlDoc, FileXmlDocCollection, DirectoryXmlDocCollection

Field Summary
private  File file
           
private  String name
           
 
Fields inherited from class org.kuali.rice.kew.batch.BaseXmlDoc
collection, message, processed
 
Constructor Summary
FileXmlDoc(File file, String name, XmlDocCollection collection)
           
FileXmlDoc(File file, XmlDocCollection collection)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 InputStream getStream()
           
 int hashCode()
           
 
Methods inherited from class org.kuali.rice.kew.batch.BaseXmlDoc
getCollection, getProcessingMessage, isProcessed, setProcessed, setProcessingMessage, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

file

private File file

name

private String name
Constructor Detail

FileXmlDoc

public FileXmlDoc(File file,
                  XmlDocCollection collection)

FileXmlDoc

public FileXmlDoc(File file,
                  String name,
                  XmlDocCollection collection)
Method Detail

getName

public String getName()

getStream

public InputStream getStream()
                      throws IOException
Throws:
IOException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Overrides:
equals in class Object


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