Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


oracle.stellent.wcm.core.data.jaxb
Class JAXBDataFileSerializer

java.lang.Object
  extended by oracle.stellent.wcm.common.xml.JAXBSerializer<DataFile>
      extended by oracle.stellent.wcm.core.data.jaxb.JAXBDataFileSerializer


public class JAXBDataFileSerializer
extends JAXBSerializer<DataFile>

Constructor Summary
JAXBDataFileSerializer()
           

 

Method Summary
protected  javax.xml.bind.JAXBElement coerceFromType(DataFile object)
          Coerce the input type into a type that can be marshalled.
protected  DataFile coerceToType(javax.xml.bind.JAXBElement unmarshalledObject)
          Coerce the unmarshalled object into the type to return
protected  javax.xml.bind.JAXBContext createJAXBContext()
          Create the JAXBContext object.
static JAXBDataFileSerializer getInstance()
           

 

Methods inherited from class oracle.stellent.wcm.common.xml.JAXBSerializer
createMarshaller, createUnmarshaller, getContext, getLocalSchemaLocation, getSchema, getSchemaLocation, readObject, readObject, writeObject

 

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

 

Constructor Detail

JAXBDataFileSerializer

public JAXBDataFileSerializer()

Method Detail

getInstance

public static JAXBDataFileSerializer getInstance()
Returns:
a shared instance of the serializer

createJAXBContext

protected javax.xml.bind.JAXBContext createJAXBContext()
                                                throws javax.xml.bind.JAXBException
Create the JAXBContext object. Note: this is only called once and the result is cached
Specified by:
createJAXBContext in class JAXBSerializer<DataFile>
Returns:
the JAXBContext
Throws:
javax.xml.bind.JAXBException

coerceToType

protected DataFile coerceToType(javax.xml.bind.JAXBElement unmarshalledObject)
Coerce the unmarshalled object into the type to return
Specified by:
coerceToType in class JAXBSerializer<DataFile>
Parameters:
unmarshalledObject - the unmarshalled jaxb object
Returns:
the converted type

coerceFromType

protected javax.xml.bind.JAXBElement coerceFromType(DataFile object)
Coerce the input type into a type that can be marshalled.
Specified by:
coerceFromType in class JAXBSerializer<DataFile>
Parameters:
object - the input object
Returns:
an object to be handed to the jaxb library

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-01


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