else
return ftc;
}
protected RemoteOWS parseRemoteOWS(Node root) {
RemoteOWS ows = new RemoteOWSImpl();
NodeList children = root.getChildNodes();
final int length = children.getLength();
for (int i = 0; i < length; i++) {
Node child = children.item(i);
if ((child == null) || (child.getNodeType() != Node.ELEMENT_NODE)) {
continue;
}
String childName = child.getLocalName();
if (childName.equalsIgnoreCase("Service")) {
ows.setService(getFirstChildValue(child));
} else if (childName.equalsIgnoreCase("OnlineResource")) {
ows.setOnlineResource(parseOnlineResource(child));
}
}
return ows;
}