%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> <%@ page import="org.deegree.model.feature.FeatureCollection" %> <%@ page import="org.deegree.model.feature.GMLFeatureCollectionDocument" %> <% FeatureCollection fc = null; if ( request.getAttribute( "RESULT" ) instanceof GMLFeatureCollectionDocument ) { GMLFeatureCollectionDocument gmlFcDoc = (GMLFeatureCollectionDocument) request.getAttribute( "RESULT" ); fc = gmlFcDoc.parse(); } else if ( request.getAttribute( "RESULT" ) instanceof FeatureCollection ) { fc = (FeatureCollection) request.getAttribute( "RESULT" ); } String featureTypeName = null; if ( fc != null && fc.size() > 0 ) { //featureTypeName = fc.getFeature( 0 ).getFeatureType().getName().getAsString(); //app:MyFeatureType featureTypeName = fc.getFeature( 0 ).getFeatureType().getName().getLocalName(); //MyFeatureType //featureTypeName = fc.getFeature( 0 ).getFeatureType().getName().getFormattedString(); //{http://www.deegree.org/app}:MyFeatureType } //System.out.println("\n **gaz_if.jsp** featureTypeName = " + featureTypeName ); %>