Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-01 ESAPI


oracle.security.jps.v11_1.config.jaxb
Class JpsConfigSerializer

java.lang.Object
  extended by oracle.security.jps.v11_1.config.jaxb.JpsConfigSerializer


public class JpsConfigSerializer
extends java.lang.Object

Serializer for marshalling and unmarshalling JPS jaxb objects


Constructor Summary
JpsConfigSerializer()
          Contsturctor

 

Method Summary
 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.v11_1.config.jaxb.JpsConfig unmarshall(org.w3c.dom.Element root)
          Unmarshall the JpsConfig document element to create a JpsConfig object
 oracle.security.jps.v11_1.config.jaxb.JpsConfig unmarshall(java.io.InputStream is)
          Unmarshall the input stream representing jps-config.xml, to create a JpsConfig object
 oracle.security.jps.v11_1.config.jaxb.JpsConfig unmarshall(java.lang.String fname)
          Unmarshall the jps-config.xml file to create a JpsConfig object

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JpsConfigSerializer

public JpsConfigSerializer()
                    throws JpsException
Contsturctor
Throws:
JpsException - if JAXBContext initialization fails

Method Detail

unmarshall

public oracle.security.jps.v11_1.config.jaxb.JpsConfig unmarshall(org.w3c.dom.Element root)
                                                           throws JpsException
Unmarshall the JpsConfig document element to create a JpsConfig object
Parameters:
root - JpsConfig element
Returns:
JpsConfig configuration
Throws:
JpsException - if unmrashalling fails

unmarshall

public oracle.security.jps.v11_1.config.jaxb.JpsConfig unmarshall(java.lang.String fname)
                                                           throws JpsException
Unmarshall the jps-config.xml file to create a JpsConfig object
Parameters:
fname - jps-config.xml file name (absolute path)
Returns:
JpsConfig configuration
Throws:
JpsException - if unmarshalling fails

unmarshall

public oracle.security.jps.v11_1.config.jaxb.JpsConfig unmarshall(java.io.InputStream is)
                                                           throws JpsException
Unmarshall the input stream representing jps-config.xml, to create a JpsConfig object
Parameters:
is - - is the input stream
Returns:
JpsConfig configuration
Throws:
JpsException - if unmarshalling fails

marshall

public org.w3c.dom.Element marshall(java.lang.Object root)
                             throws JpsException
} Marshall a JpsConfig object to generate a DOM element
Parameters:
root - JpsConfig object
Returns:
jpsConfig DOM element
Throws:
JpsException - if marshalling fails

marshall

public void marshall(java.lang.Object root,
                     java.io.OutputStream os)
              throws JpsException
Marshall a JpsConfig object to generate a DOM element and write out to supplied output stream
Parameters:
root - JspConfig object to be marshalled
os - OutputStream to which the marhalled DOM element will be written
Throws:
JpsException - if marshalling fails

marshall

public void marshall(java.lang.Object root,
                     java.lang.String fname)
              throws JpsException
Marshall a JpsConfig object to generate a DOM element and write the DOM element into a file
Parameters:
root - JspConfig object to be marshalled
fname - Filename where the marhalled DOM element will be written (requires absolute path)
Throws:
JpsException - if marshalling fails

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 2 (11.1.2)

E27155-01 ESAPI


Copyright © 2011,2012, Oracle and/or its affiliates. All rights reserved.