| java.lang.Object | |
| ↳ | com.google.gdata.wireformats.WireFormat |
Known Direct Subclasses
|
Top-level information about a wire format. All wire formats have an associated generator and parser, plus a method to validate content model metadata to ensure it's compatible with the wire format.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| ALL | List of all supported wire formats. | ||||||||||
| XML | XML wire format. | ||||||||||
| name | Logical name for the wire format. | ||||||||||
| Protected Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new wire format with the specific logical name.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Create a wire format generator.
| |||||||||||
Create a wire format parser.
| |||||||||||
Create a wire format parser for a given xml event source.
| |||||||||||
Returns the wire format name.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Logical name for the wire format.
Constructs a new wire format with the specific logical name.
| name | Wire format name. |
|---|
Create a wire format generator.
| 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 |
Create a wire format parser.
| inProps | The input properties to use when parsing |
|---|---|
| r | Reader where input is retrieved from |
| cs | Character set used to encode output |
Create a wire format parser for a given xml event source. By default this throws UnsupportedOperationException, subclasses can implement this if they choose to.
| inProps | |
|---|---|
| source |
Returns the wire format name.