A short description of the feature. In Google Earth, this description is displayed
in the Places panel under the name of the feature. If a Snippet is not supplied,
the first two lines of the are used. In Google Earth, if a Placemark
contains both a description and a Snippet, the appears beneath the Placemark
in the Places panel, and the appears in the Placemark's description
balloon. This tag does not support HTML markup. has a maxLines attribute,
an integer that specifies the maximum number of lines to display.
Field Summary |
protected int |
maxLines
Deprecated. |
protected java.lang.String |
value
Deprecated. |
Constructor Summary |
Snippet()
Deprecated. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
value
protected java.lang.String value
- Deprecated.
-
Club house 1
234
4
An optional formatted version of name, to be used for display purposes.
Value of the data pair. Club house
1 234
4
Value of the data pair.
maxLines
protected int maxLines
- Deprecated.
Snippet
public Snippet()
- Deprecated.
getValue
public java.lang.String getValue()
- Deprecated.
- Returns:
- possible object is
String
- See Also:
value
setValue
public void setValue(java.lang.String value)
- Deprecated.
- Parameters:
value
- allowed object is
String
- See Also:
value
getMaxLines
public int getMaxLines()
- Deprecated.
- See Also:
maxLines
setMaxLines
public void setMaxLines(int value)
- Deprecated.
- See Also:
maxLines
hashCode
public int hashCode()
- Deprecated.
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Deprecated.
- Overrides:
equals
in class java.lang.Object
withValue
public Snippet withValue(java.lang.String value)
- Deprecated.
- fluent setter
- Parameters:
value
- required parameter- See Also:
setValue(String)
withMaxLines
public Snippet withMaxLines(int maxLines)
- Deprecated.
- fluent setter
- Parameters:
maxLines
- required parameter- See Also:
setMaxLines(int)
clone
public Snippet clone()
- Deprecated.
- Overrides:
clone
in class java.lang.Object