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.project.jaxb
Class JAXBProjectFileSerializer

java.lang.Object
  extended by oracle.stellent.wcm.common.xml.JAXBSerializer<oracle.stellent.wcm.core.project.model.ProjectType>
      extended by oracle.stellent.wcm.core.project.jaxb.JAXBProjectFileSerializer


public class JAXBProjectFileSerializer
extends JAXBSerializer<oracle.stellent.wcm.core.project.model.ProjectType>

Field Summary
static java.lang.String NAMESPACE_URI
           
static java.lang.String ROOT_NODE
           
static java.lang.String SCHEMA_LOCATION
           

 

Constructor Summary
JAXBProjectFileSerializer()
           

 

Method Summary
protected  javax.xml.bind.JAXBElement coerceFromType(oracle.stellent.wcm.core.project.model.ProjectType object)
          Coerce the input type into a type that can be marshalled.
protected  oracle.stellent.wcm.core.project.model.ProjectType 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 JAXBProjectFileSerializer getInstance()
           
protected  java.lang.String getLocalSchemaLocation()
           
protected  java.lang.String getSchemaLocation()
           

 

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

 

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

 

Field Detail

NAMESPACE_URI

public static final java.lang.String NAMESPACE_URI
See Also:
Constant Field Values

SCHEMA_LOCATION

public static final java.lang.String SCHEMA_LOCATION
See Also:
Constant Field Values

ROOT_NODE

public static final java.lang.String ROOT_NODE
See Also:
Constant Field Values

Constructor Detail

JAXBProjectFileSerializer

public JAXBProjectFileSerializer()

Method Detail

getInstance

public static JAXBProjectFileSerializer getInstance()
Returns:
shared instance of the project parser

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<oracle.stellent.wcm.core.project.model.ProjectType>
Returns:
the JAXBContext
Throws:
javax.xml.bind.JAXBException

coerceToType

protected oracle.stellent.wcm.core.project.model.ProjectType coerceToType(javax.xml.bind.JAXBElement unmarshalledObject)
Coerce the unmarshalled object into the type to return
Specified by:
coerceToType in class JAXBSerializer<oracle.stellent.wcm.core.project.model.ProjectType>
Parameters:
unmarshalledObject - the unmarshalled jaxb object
Returns:
the converted type

coerceFromType

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

getLocalSchemaLocation

protected java.lang.String getLocalSchemaLocation()
Overrides:
getLocalSchemaLocation in class JAXBSerializer<oracle.stellent.wcm.core.project.model.ProjectType>
Returns:
the local schema location or null to not use schema validation

getSchemaLocation

protected java.lang.String getSchemaLocation()
Overrides:
getSchemaLocation in class JAXBSerializer<oracle.stellent.wcm.core.project.model.ProjectType>
Returns:
the schema location or null for no location

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.