dk.brics.xact.operations
Class XMLSource
java.lang.Object
javax.xml.transform.sax.SAXSource
dk.brics.xact.operations.XMLSource
- All Implemented Interfaces:
- Source
public class XMLSource
- extends SAXSource
JAXP SAXSource
for XML templates.
Gaps in the XML templates are ignored.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSource
public XMLSource(XML x)
- Creates a JAXP
SAXSource
for the given XML template.
getXMLReader
public XMLReader getXMLReader()
- Returns the
XMLReader
to be used for the JAXP SAXSource
.
- Overrides:
getXMLReader
in class SAXSource
setDocument
public void setDocument(XML x)
- Sets the XML template.
setInputSource
public void setInputSource(InputSource inputSource)
throws UnsupportedOperationException
- Overrides:
setInputSource
in class SAXSource
- Throws:
UnsupportedOperationException
setXMLReader
public void setXMLReader(XMLReader reader)
throws UnsupportedOperationException
- Sets the XMLReader used for the JAXP
SAXSource
.
- Overrides:
setXMLReader
in class SAXSource
- Throws:
UnsupportedOperationException
Copyright © 2005-2011 Aarhus University.