uk.org.jcam.processor.dataObjects
Class DataFile
java.lang.Object
uk.org.jcam.processor.dataObjects.DataFile
- All Implemented Interfaces:
- IDataFile
public class DataFile
- extends java.lang.Object
- implements IDataFile
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataFile
public DataFile()
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