org.apache.muse.ws.resource.sg.impl
Class MembershipContentRuleSerializer
java.lang.Object
org.apache.muse.core.serializer.XmlSerializableSerializer
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)
Method Summary |
Object |
fromXML(Element xml)
Deserializes the DOM Element into a POJO whose type this Serializer
is responsible for. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MembershipContentRuleSerializer
public MembershipContentRuleSerializer()
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.