|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectoemware.core.util.JaxbUtils
public final class JaxbUtils
The jaxb xml utils.
| Constructor Summary | |
|---|---|
JaxbUtils()
|
|
| Method Summary | |
|---|---|
static void |
jaxbMarshal(java.io.OutputStream pOutput,
java.lang.String pPackage,
java.lang.String pRootElementName,
java.lang.Class pRootType,
java.lang.Object pObject,
boolean pHumanReadable)
Converts jaxb classes to Xml (marshal). |
static void |
jaxbMarshal(java.lang.String pFileName,
java.lang.String pPackage,
java.lang.String pRootElementName,
java.lang.Class pRootType,
java.lang.Object pObject)
Converts jaxb classes to Xml (marshal). |
static void |
jaxbMarshal(java.lang.String pFileName,
java.lang.String pPackage,
java.lang.String pRootElementName,
java.lang.Class pRootType,
java.lang.Object pObject,
boolean pHumanReadable)
Converts jaxb classes to Xml (marshal). |
static java.lang.Object |
jaxbUnmarshal(java.io.InputStream pInput,
java.lang.String pPackage)
Does a jaxb parse. |
static java.lang.Object |
jaxbUnmarshal(java.lang.String pFileName,
java.lang.String pPackage)
Does a jaxb parse. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JaxbUtils()
| Method Detail |
|---|
public static void jaxbMarshal(java.lang.String pFileName,
java.lang.String pPackage,
java.lang.String pRootElementName,
java.lang.Class pRootType,
java.lang.Object pObject)
throws CoreException
pFileName - The file name. This expects the file in the classpath.pPackage - The package where the jaxb generated files are
located.pRootElementName - The root element name.pRootType - The root class type.pObject - The object to marshall.
CoreException
public static void jaxbMarshal(java.io.OutputStream pOutput,
java.lang.String pPackage,
java.lang.String pRootElementName,
java.lang.Class pRootType,
java.lang.Object pObject,
boolean pHumanReadable)
throws CoreException
pOutput - The output stream.pPackage - The package where the jaxb generated files are
located.pRootElementName - The root element name.pRootType - The root class type.pObject - The object to marshall.pHumanReadable - The flag to put eol and indents. Warning - This
takes a lot more space.
CoreException
public static void jaxbMarshal(java.lang.String pFileName,
java.lang.String pPackage,
java.lang.String pRootElementName,
java.lang.Class pRootType,
java.lang.Object pObject,
boolean pHumanReadable)
throws CoreException
pFileName - The file name. This expects the file in the classpath.pPackage - The package where the jaxb generated files are
located.pRootElementName - The root element name.pRootType - The root class type.pObject - The object to marshall.pHumanReadable - The flag to put eol and indents. Warning - This
takes a lot more space.
CoreException
public static java.lang.Object jaxbUnmarshal(java.lang.String pFileName,
java.lang.String pPackage)
throws CoreException
pFileName - The file name. This expects the file in the classpath.pPackage - The package where the jaxb generated files are
located.
CoreException
public static java.lang.Object jaxbUnmarshal(java.io.InputStream pInput,
java.lang.String pPackage)
throws CoreException
pInput - The input stream.pPackage - The package where the jaxb generated files are
located.
CoreException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||