|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openvpms.esci.ubl.io.UBLDocumentContext
public class UBLDocumentContext
Helper for reading and writing UBL documents.
Constructor Summary | |
---|---|
UBLDocumentContext()
Constructs a UBLDocumentContext. |
Method Summary | |
---|---|
UBLDocumentReader |
createReader()
Creates a new UBL document reader. |
UBLDocumentWriter |
createWriter()
Creates a new UBL document writer. |
protected JAXBContext |
getContext()
Returns the JAXB context. |
Schema |
getSchema()
Returns the UBL schema. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UBLDocumentContext() throws JAXBException, SAXException
JAXBException
- if the JAXB context cannot be created
SAXException
- if UBL document schemas cannot be read
IllegalStateException
- if a schema resource doesn't existMethod Detail |
---|
public UBLDocumentReader createReader()
public UBLDocumentWriter createWriter()
public Schema getSchema()
protected JAXBContext getContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |