Package org.geoserver.w3ds.utilities

Examples of org.geoserver.w3ds.utilities.X3DInfoExtract.containsStyle()


    int i = 0;
    for (W3DSLayerInfo wl : layers) {
      x3dInfoExtract.setLayerInfo(wl.getLayerInfo());
      String styleName = stylesNames[i];
      if (!styleName.isEmpty()) {
        if (x3dInfoExtract.containsStyle(styleName)) {
          StyleInfo styleInfo = catalog.getStyleByName(styleName);
          if (styleInfo != null) {
            wl.setRequestStyle(styleInfo);
            i++;
            continue;
View Full Code Here


      Catalog catalog) throws IOException, ParserConfigurationException,
      SAXException {
    X3DInfoExtract x3dInfoExtract = new X3DInfoExtract(catalog, false);
    x3dInfoExtract.setLayerInfo(layer.getLayerInfo());
    if (!styleName.isEmpty()) {
      if (x3dInfoExtract.containsStyle(styleName)) {
        StyleInfo styleInfo = catalog.getStyleByName(styleName);
        if (styleInfo != null) {
          layer.setRequestStyle(styleInfo);
          return;
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.