com.cedarsoft.serialization.jdom
Class AbstractJDomSerializingStrategy<T,C>
java.lang.Object
com.cedarsoft.serialization.AbstractSerializer<T,C,org.jdom.Element,org.jdom.Element,java.io.IOException>
com.cedarsoft.serialization.jdom.AbstractJDomSerializer<T,C>
com.cedarsoft.serialization.jdom.AbstractJDomSerializingStrategy<T,C>
- Type Parameters:
T - the typeC - the type of the context
- All Implemented Interfaces:
- JDomSerializingStrategy<T,C>, PluggableSerializer<T,C,org.jdom.Element,org.jdom.Element,java.io.IOException>, Serializer<T,C>, SerializingStrategy<T,C,org.jdom.Element,org.jdom.Element,java.io.IOException>
public abstract class AbstractJDomSerializingStrategy<T,C>
- extends AbstractJDomSerializer<T,C>
- implements JDomSerializingStrategy<T,C>
|
Method Summary |
java.lang.String |
getId()
Returns the id |
boolean |
supports(java.lang.Object object)
Whether the given reference type is supported |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractJDomSerializingStrategy
protected AbstractJDomSerializingStrategy(@NotNull
java.lang.String id,
@NotNull
java.lang.Class<? extends T> supportedType,
@NotNull
VersionRange formatVersionRange)
getId
@NotNull
public java.lang.String getId()
- Description copied from interface:
SerializingStrategy
- Returns the id
- Specified by:
getId in interface SerializingStrategy<T,C,org.jdom.Element,org.jdom.Element,java.io.IOException>
- Returns:
- the id
supports
public boolean supports(@NotNull
java.lang.Object object)
- Description copied from interface:
SerializingStrategy
- Whether the given reference type is supported
- Specified by:
supports in interface SerializingStrategy<T,C,org.jdom.Element,org.jdom.Element,java.io.IOException>
- Parameters:
object - the reference
- Returns:
- true if this strategy supports the reference, false otherwise
Copyright © 2009 cedarsoft GmbH. All Rights Reserved.