|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gdata.wireformats.output.CharacterGenerator<T>
com.google.gdata.wireformats.output.WireFormatOutputGenerator<E>
com.google.gdata.wireformats.output.ElementGenerator<E>
E
- the element type expected as input to the generatorpublic class ElementGenerator<E extends Element>
The ElementGenerator class implements a simple {WireFormatOutputGenerator}
that can generate documents from any GDOM Element
representation.
Method Summary | ||
---|---|---|
AltFormat |
getAltFormat()
Returns the alternate representation format produced the generator. |
|
java.lang.Class<E> |
getSourceType()
Returns the Class that represents the expected source data type for
output generation. |
|
WireFormat |
getWireFormat()
Returns the wire format to use when generating this output. |
|
static
|
of(AltFormat altFormat,
java.lang.Class<E> inputType)
|
Methods inherited from class com.google.gdata.wireformats.output.WireFormatOutputGenerator |
---|
generate |
Methods inherited from class com.google.gdata.wireformats.output.CharacterGenerator |
---|
generate |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static <E extends Element> ElementGenerator<E> of(AltFormat altFormat, java.lang.Class<E> inputType)
public WireFormat getWireFormat()
WireFormatOutputGenerator
getWireFormat
in class WireFormatOutputGenerator<E extends Element>
public AltFormat getAltFormat()
OutputGenerator
public java.lang.Class<E> getSourceType()
OutputGenerator
Class
that represents the expected source data type for
output generation.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |