File: GpxTag.java

package info (click to toggle)
gpsprune 26.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,824 kB
  • sloc: java: 52,154; sh: 25; makefile: 21; python: 15
file content (28 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package tim.prune.load.xml;

/**
 * Class to hold a single tag value from a gpx file
 */
public class GpxTag
{
	/** value of tag */
	private String _value = null;

	/**
	 * @param inVal value to set
	 */
	public void setValue(String inVal) {
		_value = inVal;
	}

	public void clear() {
		setValue("");
	}

	/**
	 * @return value
	 */
	public String getValue() {
		return _value == null ? "" : _value.trim();
	}
}