Skip navigation links
oracle.stellent.wcm.core.definition.placeholder.jaxb
Class JAXBPlaceholderDefinitionSerializer
java.lang.Object
oracle.stellent.wcm.common.xml.JAXBSerializer<PlaceholderDefinition>
oracle.stellent.wcm.core.definition.placeholder.jaxb.JAXBPlaceholderDefinitionSerializer
-
public class JAXBPlaceholderDefinitionSerializer
- extends JAXBSerializer<PlaceholderDefinition>
Serialize/deserialize placeholder definition using JAXB
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
JAXBPlaceholderDefinitionSerializer
public JAXBPlaceholderDefinitionSerializer()
getInstance
public static JAXBPlaceholderDefinitionSerializer getInstance()
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<PlaceholderDefinition>
-
- Returns:
- the JAXBContext
- Throws:
javax.xml.bind.JAXBException
coerceToType
protected PlaceholderDefinition coerceToType(javax.xml.bind.JAXBElement unmarshalledObject)
- Coerce the unmarshalled object into the type to return
-
- Specified by:
coerceToType
in class JAXBSerializer<PlaceholderDefinition>
-
- Parameters:
unmarshalledObject
- the unmarshalled jaxb object
- Returns:
- the converted type
coerceFromType
protected javax.xml.bind.JAXBElement coerceFromType(PlaceholderDefinition object)
- Coerce the input type into a type that can be marshalled.
-
- Specified by:
coerceFromType
in class JAXBSerializer<PlaceholderDefinition>
-
- 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<PlaceholderDefinition>
-
- Returns:
- the local schema location or null to not use schema validation
getSchemaLocation
protected java.lang.String getSchemaLocation()
-
- Overrides:
getSchemaLocation
in class JAXBSerializer<PlaceholderDefinition>
-
- Returns:
- the schema location or null for no location
Skip navigation links
Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.