|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.bpel.services.common.util.AbstractJaxbUtil
public abstract class AbstractJaxbUtil
Constructor Summary | |
---|---|
AbstractJaxbUtil() |
Method Summary | |
---|---|
java.lang.Object |
cloneObject(org.w3c.dom.Element element) Clone the jaxb object element |
java.lang.Object |
cloneObject(java.lang.Object t) Clone the jaxb object |
static java.net.URL |
createURL(java.lang.String urlString) Creates an URL object from the specified urlString |
java.lang.String |
getAbsoluteSchemaLocation() Returns absolute file path of the schema file |
java.lang.ClassLoader |
getClassLoader() Gets the current thread context ClassLoader |
abstract java.lang.String |
getJaxbContextString() Get the Jaxb Context String |
abstract java.lang.String |
getSchemaLocation() Get the XSD location. |
javax.xml.bind.ValidationEvent[] |
getSchemaValidationErrors(java.lang.Object obj) Get the obj schema validation errors |
void |
marshal(java.lang.Object obj, java.io.OutputStream os) Write a object to an output stream |
void |
marshal(java.lang.Object obj, java.lang.String outputXMLLocation) Write a object to an XML file |
boolean |
schemaValidate(java.lang.Object obj) Validate obj against its schema |
org.w3c.dom.Element |
toElement(java.lang.Object t) Get the element from the JAXB object |
java.lang.String |
toString(java.lang.Object t) Get a string verion of the obj |
java.lang.Object |
unmarshal(java.io.InputStream inputStream) Unmarshal an input stream to a object |
java.lang.Object |
unmarshal(org.w3c.dom.Node node) Unmarshal xml node in specified file to a object |
java.lang.Object |
unmarshal(java.lang.String xmlURI) Unmarshal xml in specified file to a object |
java.lang.Object |
unmarshal(java.net.URL xmlURL) Unmarshal xml in specified file to a object |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractJaxbUtil()
Method Detail |
---|
public abstract java.lang.String getJaxbContextString()
String
valuepublic abstract java.lang.String getSchemaLocation()
String
valuepublic java.lang.Object unmarshal(java.lang.String xmlURI) throws javax.xml.bind.JAXBException, java.io.IOException
xmlURI
- The URI of XML filejavax.xml.bind.JAXBException
- if an error occursjava.io.IOException
- if an error occurspublic java.lang.Object unmarshal(java.net.URL xmlURL) throws javax.xml.bind.JAXBException, java.io.IOException
xmlURL
- The URL of XML filejavax.xml.bind.JAXBException
- if an error occursjava.io.IOException
- if an error occurspublic java.lang.Object unmarshal(java.io.InputStream inputStream) throws javax.xml.bind.JAXBException, java.io.IOException
inputStream
- The input streamjavax.xml.bind.JAXBException
- if an error occursjava.io.IOException
- if an error occurspublic java.lang.Object unmarshal(org.w3c.dom.Node node) throws javax.xml.bind.JAXBException, java.io.IOException
node
- The nodejavax.xml.bind.JAXBException
- if an error occursjava.io.IOException
- if an error occurspublic void marshal(java.lang.Object obj, java.lang.String outputXMLLocation) throws javax.xml.bind.JAXBException, java.io.IOException
obj
- The objectoutputXMLLocation
- The file location to write the XMLjavax.xml.bind.JAXBException
- if an error occursjava.io.IOException
- if an error occurspublic void marshal(java.lang.Object obj, java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
obj
- The objectos
- The output streamjavax.xml.bind.JAXBException
- if an error occursjava.io.IOException
- if an error occurspublic boolean schemaValidate(java.lang.Object obj) throws javax.xml.bind.JAXBException
obj
- The objectjavax.xml.bind.JAXBException
- if an error occurspublic javax.xml.bind.ValidationEvent[] getSchemaValidationErrors(java.lang.Object obj) throws javax.xml.bind.JAXBException
obj
- The JAXB objectjavax.xml.bind.JAXBException
- if an error occurspublic java.lang.String toString(java.lang.Object t)
t
- a Object
value of type oracle.xml.jaxb.JaxbNodeString
valuepublic org.w3c.dom.Element toElement(java.lang.Object t)
t
- a Object
value of type oracle.xml.jaxb.JaxbNodeElement
valuepublic java.lang.String getAbsoluteSchemaLocation()
public java.lang.ClassLoader getClassLoader()
ClassLoader
valuepublic static java.net.URL createURL(java.lang.String urlString) throws java.io.IOException
urlString
- a String
valueURL
valuejava.io.IOException
- if an error occurspublic java.lang.Object cloneObject(java.lang.Object t) throws java.lang.Exception
t
- an Object
value of type oracle.xml.jaxb.JaxbNodeObject
valuejava.lang.Exception
- if an error occurspublic java.lang.Object cloneObject(org.w3c.dom.Element element) throws java.lang.Exception
element
- an Element
valueObject
valuejava.lang.Exception
- if an error occurs
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |