|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A Factory for the creation of different types of
serializers according to different encoding styles.
This interface is inherited by the ManagedEntityValue
,
ManagedEntityKey
, Event
and QueryValue
interfaces.
For example and assuming that mev
is a managed entity value
Serializer serializer= mev.makeSerializer( XmlSerializer.getClass().getName()); XmlSerializer mevXmlSerializer = (XmlSerializer) Serializer; serializer.setEncodingStyle( XmlSerializerEncodingStyles.OSS_XML_ENCODING_STYLE);
ManagedEntityValue
,
ManagedEntityKey
,
Event
,
QueryValue
Method Summary | |
java.lang.String[] |
getSupportedSerializerTypes()
Return all the serializer types than can be created by this factory. |
Serializer |
makeSerializer(java.lang.String serializerType)
Manufacture a Serializer for the object type inheriting the interface. |
Method Detail |
public java.lang.String[] getSupportedSerializerTypes()
public Serializer makeSerializer(java.lang.String serializerType) throws java.lang.IllegalArgumentException
serializerType
- the class name of the serializer interface that must
be created. For example XmlSerializer.getClass().getName()
java.lang.IllegalArgumentException
- if no serializer can be created matching
the provided Serializer Type.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |