|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.utils.jaxb.JaxbUtils
public final class JaxbUtils
The Class JaxbHelper.
| Method Summary | |
|---|---|
static javax.xml.bind.Marshaller |
createValidatingMarshaller(javax.xml.bind.JAXBContext context,
javax.xml.validation.Schema schema)
Creates the validating marshaller. |
static javax.xml.bind.Marshaller |
createValidatingMarshaller(javax.xml.bind.JAXBContext context,
java.lang.String bundleId,
java.lang.String resourcePath)
Creates the validating marshaller. |
static javax.xml.bind.Unmarshaller |
createValidatingUnmarshaller(javax.xml.bind.JAXBContext context,
javax.xml.validation.Schema schema)
Creates the validating unmarshaller. |
static javax.xml.bind.Unmarshaller |
createValidatingUnmarshaller(javax.xml.bind.JAXBContext context,
java.lang.String bundleId,
java.lang.String resourcePath)
Creates the validating unmarshaller. |
static javax.xml.bind.ValidationEventHandler |
createValidationEventHandler()
Creates the validation event handler. |
static void |
marshall(java.lang.Object jaxbElement,
java.lang.String contextPackage,
java.lang.ClassLoader classLoader,
javax.xml.validation.Schema schema,
java.io.OutputStream outputStream)
Marshall. |
static void |
marshall(java.lang.Object jaxbElement,
java.lang.String bundleId,
java.lang.String contextPackage,
java.lang.ClassLoader classLoader,
java.lang.String schemaPath,
java.io.OutputStream outputStream)
Marshall. |
static java.lang.Object |
unmarshall(java.lang.String contextPackage,
java.lang.ClassLoader classLoader,
javax.xml.validation.Schema schema,
java.io.InputStream inputStream)
Unmarshall. |
static java.lang.Object |
unmarshall(java.lang.String bundleId,
java.lang.String contextPackage,
java.lang.ClassLoader classLoader,
java.lang.String schemaLocation,
java.io.InputStream inputStream)
Unmarshall. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static javax.xml.bind.Unmarshaller createValidatingUnmarshaller(javax.xml.bind.JAXBContext context,
javax.xml.validation.Schema schema)
throws javax.xml.bind.JAXBException
context - the contextschema - the schema
javax.xml.bind.JAXBException - the JAXB exception
public static javax.xml.bind.Marshaller createValidatingMarshaller(javax.xml.bind.JAXBContext context,
javax.xml.validation.Schema schema)
throws javax.xml.bind.JAXBException
context - the contextschema - the schema
javax.xml.bind.JAXBException - the JAXB exceptionpublic static javax.xml.bind.ValidationEventHandler createValidationEventHandler()
public static javax.xml.bind.Unmarshaller createValidatingUnmarshaller(javax.xml.bind.JAXBContext context,
java.lang.String bundleId,
java.lang.String resourcePath)
throws javax.xml.bind.JAXBException,
org.xml.sax.SAXException
context - the contextbundleId - the bundle idresourcePath - the resource path
javax.xml.bind.JAXBException - the JAXB exception
org.xml.sax.SAXException - the SAX exception
public static javax.xml.bind.Marshaller createValidatingMarshaller(javax.xml.bind.JAXBContext context,
java.lang.String bundleId,
java.lang.String resourcePath)
throws javax.xml.bind.JAXBException,
org.xml.sax.SAXException
context - the contextbundleId - the bundle idresourcePath - the resource path
javax.xml.bind.JAXBException - the JAXB exception
org.xml.sax.SAXException - the SAX exception
public static java.lang.Object unmarshall(java.lang.String bundleId,
java.lang.String contextPackage,
java.lang.ClassLoader classLoader,
java.lang.String schemaLocation,
java.io.InputStream inputStream)
throws javax.xml.bind.JAXBException,
org.xml.sax.SAXException
bundleId - the bundle idcontextPackage - the context packageclassLoader - the class loaderschemaLocation - the schema locationinputStream - the input stream
javax.xml.bind.JAXBException - the JAXB exception
org.xml.sax.SAXException - the SAX exception
public static java.lang.Object unmarshall(java.lang.String contextPackage,
java.lang.ClassLoader classLoader,
javax.xml.validation.Schema schema,
java.io.InputStream inputStream)
throws javax.xml.bind.JAXBException,
org.xml.sax.SAXException
contextPackage - the context packageclassLoader - the class loaderschema - the schemainputStream - the input stream
javax.xml.bind.JAXBException - the JAXB exception
org.xml.sax.SAXException - the SAX exception
public static void marshall(java.lang.Object jaxbElement,
java.lang.String bundleId,
java.lang.String contextPackage,
java.lang.ClassLoader classLoader,
java.lang.String schemaPath,
java.io.OutputStream outputStream)
throws javax.xml.bind.JAXBException,
org.xml.sax.SAXException
jaxbElement - the jaxb elementbundleId - the bundle idcontextPackage - the context packageclassLoader - the class loaderschemaPath - the schema pathoutputStream - the output stream
javax.xml.bind.JAXBException - the JAXB exception
org.xml.sax.SAXException - the SAX exception
public static void marshall(java.lang.Object jaxbElement,
java.lang.String contextPackage,
java.lang.ClassLoader classLoader,
javax.xml.validation.Schema schema,
java.io.OutputStream outputStream)
throws javax.xml.bind.JAXBException,
org.xml.sax.SAXException
jaxbElement - the jaxb elementcontextPackage - the context packageclassLoader - the class loaderschema - the schemaoutputStream - the output stream
javax.xml.bind.JAXBException - the JAXB exception
org.xml.sax.SAXException - the SAX exception
|
SMILA (incubation) API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||