|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xml.serializer.SerializerFactory
Factory for creating serializers.
Constructor Summary | |
---|---|
SerializerFactory()
|
Method Summary | |
---|---|
static Serializer |
getSerializer(java.util.Properties format)
Returns a serializer for the specified output method. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SerializerFactory()
Method Detail |
public static Serializer getSerializer(java.util.Properties format)
Method
.
format
- The output format, minimally the "method" property must be set.
java.lang.IllegalArgumentException
- if method is
null or an appropriate serializer can't be found
java.lang.Exception
- if the class for the serializer is found but does not
implement ContentHandler.
WrappedRuntimeException
- if an exception is thrown while trying to find serializer
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |