Package org.geotools.xml.handlers

Examples of org.geotools.xml.handlers.ComplexElementHandler


        finally {
            handlers.pop(); // we must do this or leak memory
            if (handler != null && !handlers.isEmpty()){
            XMLElementHandler parent = ((XMLElementHandler)handlers.peek());
            if (parent instanceof ComplexElementHandler){
                ComplexElementHandler complexParent = (ComplexElementHandler)parent;
              String typename = complexParent.getType().getClass().getName();
              // TODO: HACK The required Type is not in this Module
              if(typename.equals("org.geotools.xml.wfs.WFSBasicComplexTypes$FeatureCollectionType")){
                complexParent.removeElement(handler);
              }
            }
          }
        }
    }
View Full Code Here

TOP

Related Classes of org.geotools.xml.handlers.ComplexElementHandler

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.