uk.org.jcam.processor.dataObjects
Class DataFile

java.lang.Object
  extended by uk.org.jcam.processor.dataObjects.DataFile
All Implemented Interfaces:
IDataFile

public class DataFile
extends java.lang.Object
implements IDataFile


Constructor Summary
DataFile()
           
 
Method Summary
 java.lang.String[] getErrors()
           
 org.jdom.Document getXMLContents()
           
 Xpath getXpath()
           
 boolean hasErrors()
           
 boolean hasXMLContents()
           
 void outputXMLContents(java.lang.String filename)
           
 void printErrors()
           
 void setXMLContents(org.jdom.Document xmlfile)
           
 void setXpath(Xpath xpath)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataFile

public DataFile()
Method Detail

getXpath

public Xpath getXpath()

setXpath

public void setXpath(Xpath xpath)

getXMLContents

public org.jdom.Document getXMLContents()
Specified by:
getXMLContents in interface IDataFile

setXMLContents

public void setXMLContents(org.jdom.Document xmlfile)
                    throws org.jaxen.JaxenException,
                           org.jdom.JDOMException,
                           Parameter.ParameterException,
                           Parameters.ParametersException,
                           ContainerException
Specified by:
setXMLContents in interface IDataFile
Throws:
org.jaxen.JaxenException
org.jdom.JDOMException
Parameter.ParameterException
Parameters.ParametersException
ContainerException

hasXMLContents

public boolean hasXMLContents()
Specified by:
hasXMLContents in interface IDataFile

hasErrors

public boolean hasErrors()
                  throws org.jdom.JDOMException,
                         Parameters.ParametersException,
                         org.jaxen.JaxenException
Specified by:
hasErrors in interface IDataFile
Throws:
org.jdom.JDOMException
Parameters.ParametersException
org.jaxen.JaxenException

printErrors

public void printErrors()
                 throws Parameters.ParametersException
Specified by:
printErrors in interface IDataFile
Throws:
Parameters.ParametersException

getErrors

public java.lang.String[] getErrors()
                             throws java.lang.Exception
Specified by:
getErrors in interface IDataFile
Throws:
Parameters.ParametersException
java.lang.Exception

outputXMLContents

public void outputXMLContents(java.lang.String filename)
Specified by:
outputXMLContents in interface IDataFile