java.lang.Object
omix.util.io.AbstractReader
omix.util.io.AbstractDomReader
public abstract class AbstractDomReader extends AbstractReader
This class is an abstract definition of a reader using DOM
(Package org.w3c.dom).
- Author:
- Dr. Peter Droste, Omix Visualization
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AbstractDomReader(URLConnection urlConnection, InputUtilities utilities)
-
Method Summary
Modifier and Type Method Description protected abstract void
readOmixModel(Model model, Element domElement)
This method assembles the model according the content inside the given DOM element.
-
Constructor Details
-
Method Details
-
readOmixModel
protected abstract void readOmixModel(Model model, Element domElement) throws ParserConfigurationException, SAXException, IOException, TransformerConfigurationException, IllegalArgumentException, TransformerException, IllegalAccessException, NoSuchFieldException, ComponentExistsException, IllegalComponentException, ThrowableThis method assembles the model according the content inside the given DOM element. Must be implemented in a derived class.- Parameters:
model
- allowing to assemble the modeldomElement
- the root element of the read XML file- Throws:
ParserConfigurationException
SAXException
IOException
TransformerConfigurationException
IllegalArgumentException
TransformerException
IllegalAccessException
NoSuchFieldException
ComponentExistsException
IllegalComponentException
Throwable
-