| 
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
  
oracle.security.jps.v11_1.config.jaxb.JpsConfigSerializer
public class JpsConfigSerializer
Serializer for marshalling and unmarshalling JPS jaxb objects
| Constructor Summary | |
|---|---|
JpsConfigSerializer()Contsturctor  | 
|
| Method Summary | |
|---|---|
static void | 
main(java.lang.String[] args) | 
 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  | 
 void | 
printJpsConfig(JpsConfig config)Log the JPS config (log level FINEST)  | 
 void | 
setValidation(boolean validate) | 
 JpsConfig | 
unmarshall(org.w3c.dom.Element root)Unmarshall the JpsConfig document element to create a JpsConfig object  | 
 JpsConfig | 
unmarshall(java.io.InputStream is)Unmarshall the input stream representing jps-config.xml, to create a JpsConfig object  | 
 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 | 
|---|
public JpsConfigSerializer()
                    throws JpsException
JpsException - if JAXBContext initialization fails| Method Detail | 
|---|
public void setValidation(boolean validate)
public JpsConfig unmarshall(org.w3c.dom.Element root)
                     throws JpsException
root - JpsConfig elementJpsException - if unmrashalling fails
public JpsConfig unmarshall(java.lang.String fname)
                     throws JpsException
fname - jps-config.xml file name (absolute path)JpsException - if unmarshalling fails
public 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 failspublic void printJpsConfig(JpsConfig config)
config - JpsConfigurationpublic static void main(java.lang.String[] args)
  | 
Oracle Fusion Middleware Java API Reference for Oracle Platform Security Services 11g Release 1 (11.1.1) E14650-04  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||