root / trunk / extensions / extWCS / src / es / uji / lsi / wcs / XmlWcsParsing / SingleValue.java @ 1877
History | View | Annotate | Download (607 Bytes)
1 |
package es.uji.lsi.wcs.XmlWcsParsing; |
---|---|
2 |
/*
|
3 |
* SingleValue.java
|
4 |
*
|
5 |
* Created on 27 de enero de 2005, 21:03
|
6 |
*/
|
7 |
|
8 |
/**
|
9 |
*
|
10 |
* @author jaume
|
11 |
*/
|
12 |
public class SingleValue{ |
13 |
private String semantic; |
14 |
private String type; |
15 |
private String value; |
16 |
|
17 |
public SingleValue(XMLNode node){
|
18 |
semantic = node.getAttribute("semantic");
|
19 |
type = node.getAttribute("type");
|
20 |
value = node.getText(); |
21 |
} |
22 |
|
23 |
public String getSemantic(){ |
24 |
return semantic;
|
25 |
} |
26 |
|
27 |
public String getType(){ |
28 |
return type;
|
29 |
} |
30 |
public String getValue(){ |
31 |
return value;
|
32 |
} |
33 |
} |