Example usage for Java javax.xml.bind JAXB fields, constructors, methods, implement or subclass
The text is from its open source code.
void | marshal(Object jaxbObject, File xml) Writes a Java object tree to XML and store it to the specified location. |
void | marshal(Object jaxbObject, URL xml) Writes a Java object tree to XML and store it to the specified location. |
void | marshal(Object jaxbObject, URI xml) Writes a Java object tree to XML and store it to the specified location. |
void | marshal(Object jaxbObject, String xml) Writes a Java object tree to XML and store it to the specified location. |
void | marshal(Object jaxbObject, OutputStream xml) Writes a Java object tree to XML and store it to the specified location. |
void | marshal(Object jaxbObject, Writer xml) Writes a Java object tree to XML and store it to the specified location. |
void | marshal(Object jaxbObject, Result xml) Writes a Java object tree to XML and store it to the specified location. |
T | unmarshal(File xml, Class Reads in a Java object tree from the given XML input. |
T | unmarshal(URL xml, Class Reads in a Java object tree from the given XML input. |
T | unmarshal(URI xml, Class Reads in a Java object tree from the given XML input. |
T | unmarshal(String xml, Class Reads in a Java object tree from the given XML input. |
T | unmarshal(InputStream xml, Class Reads in a Java object tree from the given XML input. |
T | unmarshal(Reader xml, Class Reads in a Java object tree from the given XML input. |
T | unmarshal(Source xml, Class Reads in a Java object tree from the given XML input. |