public class

InputPropertiesBuilder

extends StreamPropertiesBuilder<T extends StreamPropertiesBuilder<T>>
java.lang.Object
   ↳ com.google.gdata.wireformats.StreamPropertiesBuilder<T extends com.google.gdata.wireformats.StreamPropertiesBuilder<T>>
     ↳ com.google.gdata.wireformats.input.InputPropertiesBuilder

Class Overview

The InputPropertiesBuilder class is a builder class that aids in the construction of new InputProperties instances.

Summary

Fields
private Class<?> expectType
[Expand]
Inherited Fields
From class com.google.gdata.wireformats.StreamPropertiesBuilder
Public Constructors
InputPropertiesBuilder()
Constructs a new InputPropertiesBuilder with no properties set.
InputPropertiesBuilder(InputProperties source)
Constructs a new InputPropertiesBuilder with properties set from an existing InputProperties instance.
Public Methods
InputProperties build()
Returns a new InputProperties instance initialized with the property values set on the builder.
InputPropertiesBuilder setExpectType(Class<?> expectType)
Sets the expected type property that should be used for instances created by the builder.
[Expand]
Inherited Methods
From class com.google.gdata.wireformats.StreamPropertiesBuilder
From class java.lang.Object

Fields

private Class<?> expectType

Public Constructors

public InputPropertiesBuilder ()

Constructs a new InputPropertiesBuilder with no properties set.

public InputPropertiesBuilder (InputProperties source)

Constructs a new InputPropertiesBuilder with properties set from an existing InputProperties instance.

Parameters
source Input properties instance to copy from

Public Methods

public InputProperties build ()

Returns a new InputProperties instance initialized with the property values set on the builder.

public InputPropertiesBuilder setExpectType (Class<?> expectType)

Sets the expected type property that should be used for instances created by the builder.

Parameters
expectType ExpectType to set in built instances.
Returns
  • this builder (to enable initialization chaining).