Package org.vfny.geoserver.form.data

Examples of org.vfny.geoserver.form.data.AttributeForm


    private void executeAdd(ActionMapping mapping, TypesEditorForm form,
        UserContainer user, HttpServletRequest request) {
        String attributeName = form.getNewAttribute();
       
  FeatureType fType = getFeatureType(form, request);
        AttributeForm newAttribute = newAttributeForm(attributeName, fType);
        form.getAttributes().add(newAttribute);
    }
View Full Code Here


    private AttributeForm newAttributeForm(String attributeName,
             FeatureType featureType) {
  AttributeType attributeType = featureType.getAttributeType(attributeName);
        AttributeTypeInfoConfig attributeConfig = new AttributeTypeInfoConfig(attributeType);
        AttributeForm newAttribute = new AttributeForm(attributeConfig,
                attributeType);
        return newAttribute;
    }
View Full Code Here

TOP

Related Classes of org.vfny.geoserver.form.data.AttributeForm

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.