Package org.geotools.styling

Examples of org.geotools.styling.RemoteOWSImpl


    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;
  }
View Full Code Here

TOP

Related Classes of org.geotools.styling.RemoteOWSImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.