org.apache.muse.ws.resource.sg.impl
Class MembershipContentRuleSerializer

java.lang.Object
  extended by org.apache.muse.core.serializer.XmlSerializableSerializer
      extended by org.apache.muse.ws.resource.sg.impl.MembershipContentRuleSerializer
All Implemented Interfaces:
Serializer

public class MembershipContentRuleSerializer
extends XmlSerializableSerializer

MembershipContentRuleSerializer provides XML-to-Java deserialization for the WS-SG MembershipContentRule type.

Author:
Dan Jemiolo (danj)

Constructor Summary
MembershipContentRuleSerializer()
           
 
Method Summary
 Object fromXML(Element xml)
          Deserializes the DOM Element into a POJO whose type this Serializer is responsible for.
 
Methods inherited from class org.apache.muse.core.serializer.XmlSerializableSerializer
getSerializableType, toXML
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MembershipContentRuleSerializer

public MembershipContentRuleSerializer()
Method Detail

fromXML

public Object fromXML(Element xml)
Description copied from interface: Serializer
Deserializes the DOM Element into a POJO whose type this Serializer is responsible for.

Specified by:
fromXML in interface Serializer
Overrides:
fromXML in class XmlSerializableSerializer
Parameters:
xml - The XML representation of a Java object. If the type is primitive or simple (not a primitive, but serialized to a string), the value should be a DOM Text node inside the given Element.
Returns:
A POJO constructed from the given XML. If the Element is empty and the Serializer's type is a non-primitive, the method will return null.


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