|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.data.template.xml.TemplateXmlImporter
public class TemplateXmlImporter
Class responsible for the import process of templates from specified XML files. The success of the import process is dependent on the XML files' validation results, which are checked with the default XML Schema.
Constructor Summary | |
---|---|
TemplateXmlImporter()
Constructor. |
|
TemplateXmlImporter(Class<?>[] classesWithAnnotations)
The default constructor. |
Method Summary | |
---|---|
Template |
importTemplate(File file)
Imports a template from a given XML file. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TemplateXmlImporter(Class<?>[] classesWithAnnotations)
classesWithAnnotations
- the additional classes containing annotationspublic TemplateXmlImporter()
Method Detail |
---|
public Template importTemplate(File file) throws IOException, ParserConfigurationException, SAXException
file
- the file from which a template is to be imported
IOException
SAXException
ParserConfigurationException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |