javax.xml.bind.util
Class JAXBResult
SAXResultjavax.xml.bind.util.JAXBResult
public class JAXBResult
extends SAXResult
Utility class that allows to catch the result of a
stylesheet transformation in a JAXB object.
Object | getResult()- Returns the result of a previous transformation.
|
JAXBResult
public JAXBResult(Unmarshaller pUnmarshaller)
throws JAXBExceptionCreates a new instance of
JAXBResult.
The instance will use the given
Unmarshaller
to create a
org.xml.sax.ContentHandler.
In most cases you will use the constructor taking a
JAXBContext as input. This additional
constructor is required, if you want to configure the
Unmarshaller.
getResult
public Object getResult()
throws JAXBExceptionReturns the result of a previous transformation.