com.google.gdata.data.photos
Class GphotoSnippet
java.lang.Object
com.google.gdata.data.AbstractExtension
com.google.gdata.data.ValueConstruct
com.google.gdata.data.photos.GphotoSnippet
- All Implemented Interfaces:
- Extension
public class GphotoSnippet
- extends ValueConstruct
Snippet of matching text for search results.
Constructor Summary |
GphotoSnippet()
Default mutable constructor. |
GphotoSnippet(java.lang.String value)
Constructor (mutable or immutable). |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
GphotoSnippet
public GphotoSnippet()
- Default mutable constructor.
GphotoSnippet
public GphotoSnippet(java.lang.String value)
- Constructor (mutable or immutable).
- Parameters:
value
- immutable matching snippet or null
for a mutable
matching snippet
getDefaultDescription
public static ExtensionDescription getDefaultDescription(boolean required,
boolean repeatable)
- Returns the extension description, specifying whether it is required, and
whether it is repeatable.
- Parameters:
required
- whether it is requiredrepeatable
- whether it is repeatable
- Returns:
- extension description
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object