public class JpsConfigSerializer
extends java.lang.Object
| Constructor and Description |
|---|
JpsConfigSerializer()
Contsturctor
|
| Modifier and Type | Method and Description |
|---|---|
org.w3c.dom.Element |
marshall(java.lang.Object root)
} Marshall a JpsConfig object to generate a DOM element
|
void |
marshall(java.lang.Object root, java.io.OutputStream os)
Marshall a JpsConfig object to generate a DOM element and write out to supplied output stream
|
void |
marshall(java.lang.Object root, java.lang.String fname)
Marshall a JpsConfig object to generate a DOM element and write the DOM element into a file
|
oracle.security.jps.config.jaxb.JpsConfig |
unmarshall(org.w3c.dom.Element root)
Unmarshall the JpsConfig document element to create a JpsConfig object
|
oracle.security.jps.config.jaxb.JpsConfig |
unmarshall(java.io.InputStream is)
Unmarshall the input stream representing jps-config.xml, to create a JpsConfig object
|
oracle.security.jps.config.jaxb.JpsConfig |
unmarshall(java.lang.String fname)
Unmarshall the jps-config.xml file to create a JpsConfig object
|
public JpsConfigSerializer()
throws JpsException
JpsException - if JAXBContext initialization fails
public oracle.security.jps.config.jaxb.JpsConfig unmarshall(org.w3c.dom.Element root)
throws JpsException
root - JpsConfig elementJpsException - if unmrashalling fails
public oracle.security.jps.config.jaxb.JpsConfig unmarshall(java.lang.String fname)
throws JpsException
fname - jps-config.xml file name (absolute path)JpsException - if unmarshalling fails
public oracle.security.jps.config.jaxb.JpsConfig unmarshall(java.io.InputStream is)
throws JpsException
is - - is the input streamJpsException - if unmarshalling fails
public org.w3c.dom.Element marshall(java.lang.Object root)
throws JpsException
root - JpsConfig objectJpsException - if marshalling fails
public void marshall(java.lang.Object root,
java.io.OutputStream os)
throws JpsException
root - JspConfig object to be marshalledos - OutputStream to which the marhalled DOM element will be writtenJpsException - if marshalling fails
public void marshall(java.lang.Object root,
java.lang.String fname)
throws JpsException
root - JspConfig object to be marshalledfname - Filename where the marhalled DOM element will be written (requires absolute path)JpsException - if marshalling fails