net.sf.xolite.transform
Class XMLSerializableSource
java.lang.Object
javax.xml.transform.sax.SAXSource
net.sf.xolite.transform.XMLSerializableSource
- All Implemented Interfaces:
- Source
public class XMLSerializableSource
- extends SAXSource
Object allowing a XMLSerializable to be the source of a XSL transformation.
- Author:
- Olivier Berlanger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLSerializableSource
public XMLSerializableSource(XMLSerializable rootSerializable)
getXMLSerializer
protected SaxXMLSerializer getXMLSerializer()
serialize
protected void serialize()
throws SAXException
- Throws:
SAXException
startPrefixMapping
public void startPrefixMapping(String prefix,
String namespaceUri)
throws XMLSerializeException
- Throws:
XMLSerializeException
setXMLReader
public void setXMLReader(XMLReader xreader)
- Overrides:
setXMLReader
in class SAXSource
getXMLReader
public XMLReader getXMLReader()
- Overrides:
getXMLReader
in class SAXSource
setInputSource
public void setInputSource(InputSource inputSource)
- Overrides:
setInputSource
in class SAXSource
getInputSource
public InputSource getInputSource()
- Overrides:
getInputSource
in class SAXSource
setSystemId
public void setSystemId(String systemId)
- Specified by:
setSystemId
in interface Source
- Overrides:
setSystemId
in class SAXSource
getSystemId
public String getSystemId()
- Specified by:
getSystemId
in interface Source
- Overrides:
getSystemId
in class SAXSource
Copyright © 2012. All Rights Reserved.