public class

XmlWireFormat

extends WireFormat
java.lang.Object
   ↳ com.google.gdata.wireformats.WireFormat
     ↳ com.google.gdata.wireformats.XmlWireFormat

Class Overview

JSON wire format properties.

Summary

[Expand]
Inherited Fields
From class com.google.gdata.wireformats.WireFormat
Public Constructors
XmlWireFormat()
Public Methods
WireFormatGenerator createGenerator(OutputProperties outProps, Writer w, Charset cs, boolean prettyPrint)
Create a wire format generator.
WireFormatParser createParser(InputProperties inProps, Reader r, Charset cs)
Create a wire format parser.
WireFormatParser createParser(InputProperties inProps, XmlEventSource source)
Create a wire format parser for a given xml event source.
[Expand]
Inherited Methods
From class com.google.gdata.wireformats.WireFormat
From class java.lang.Object

Public Constructors

public XmlWireFormat ()

Public Methods

public WireFormatGenerator createGenerator (OutputProperties outProps, Writer w, Charset cs, boolean prettyPrint)

Create a wire format generator.

Parameters
outProps The output properties to use for output
w Writer where output is sent to
cs Character set used to encode output
prettyPrint true if output should be in prettyprint format
Returns
  • wire format generator

public WireFormatParser createParser (InputProperties inProps, Reader r, Charset cs)

Create a wire format parser.

Parameters
inProps The input properties to use when parsing
r Reader where input is retrieved from
cs Character set used to encode output
Returns
  • wire format parser

public WireFormatParser createParser (InputProperties inProps, XmlEventSource source)

Create a wire format parser for a given xml event source. By default this throws UnsupportedOperationException, subclasses can implement this if they choose to.

Parameters
inProps
source