We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9f899c commit b0af106Copy full SHA for b0af106
1 file changed
SweLib/src/main/java/org/sofwerx/ogc/sos/SensorTextResultTemplateField.java
@@ -4,9 +4,6 @@
4
5
import org.w3c.dom.Document;
6
import org.w3c.dom.Element;
7
-import org.w3c.dom.NodeList;
8
-
9
-import java.util.ArrayList;
10
11
/**
12
* This is used for templates that involve text rather than quantity
@@ -44,4 +41,9 @@ public void parse(Element field) {
44
41
return;
45
42
setName(field.getAttribute(NAME_NAME));
46
43
}
+
+ @Override
+ public boolean isValid() {
47
+ return (getName() != null) && (getQuantityDefinition() != null);
48
+ }
49
0 commit comments