/** <p>Creates a new instance of JAXBSource.</p> */ public JAXBSource(javax.xml.bind.Marshaller pMarshaller, Object pObject) throws JAXBException { marshaller = pMarshaller; contentObject = pObject; inputSource = new InputSource(); super.setInputSource(inputSource); super.setXMLReader(new JAXBSourceXMLReader()); } }
/** <p>Creates a new instance of JAXBSource.</p> */ public JAXBSource(javax.xml.bind.Marshaller pMarshaller, Object pObject) throws JAXBException { marshaller = pMarshaller; contentObject = pObject; inputSource = new InputSource(); super.setInputSource(inputSource); super.setXMLReader(new JAXBSourceXMLReader()); } }