org.apache.muse.core.descriptor
Class SimpleSerializerDescriptor

java.lang.Object
  extended by org.apache.muse.core.descriptor.SimpleSerializerDescriptor
All Implemented Interfaces:
SerializerDescriptor, XmlSerializable

public class SimpleSerializerDescriptor
extends Object
implements SerializerDescriptor

Author:
Dan Jemiolo (danj)

Constructor Summary
SimpleSerializerDescriptor()
           
 
Method Summary
protected  Class createSerializableType(Element xml, Environment env)
           
protected  Class createSerializerClass(Element xml, Environment env)
           
 SerializerDefinition getSerializerDefinition()
           
 void load(Element xml, Environment environment)
           
 void setSerializerDefinition(SerializerDefinition definition)
           
 Element toXML()
          Converts this object into an XML representation, as defined by its related schema or specification.
 Element toXML(Document doc)
          Converts this object into an XML representation, as defined by its related schema or specification.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSerializerDescriptor

public SimpleSerializerDescriptor()
Method Detail

createSerializableType

protected Class createSerializableType(Element xml,
                                       Environment env)

createSerializerClass

protected Class createSerializerClass(Element xml,
                                      Environment env)

getSerializerDefinition

public SerializerDefinition getSerializerDefinition()
Specified by:
getSerializerDefinition in interface SerializerDescriptor

load

public void load(Element xml,
                 Environment environment)
Specified by:
load in interface SerializerDescriptor

setSerializerDefinition

public void setSerializerDefinition(SerializerDefinition definition)
Specified by:
setSerializerDefinition in interface SerializerDescriptor

toXML

public Element toXML()
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Returns:
An XML representation of this object.

toXML

public Element toXML(Document doc)
Description copied from interface: XmlSerializable
Converts this object into an XML representation, as defined by its related schema or specification. The format of the XML is dependent on the concrete type.

Specified by:
toXML in interface XmlSerializable
Parameters:
doc - The DOM Document that will be used to create all of the nodes in the resulting XML fragment.
Returns:
An XML representation of this object.


Copyright © 2005-2011 Apache Web Services - Muse. All Rights Reserved.