public void writeOperations ( ) { fileOutput += "<ows:OperationsMetadata> " ; for ( WFSRequestType rt : operationList ) { writeAOperation ( rt ) ; } // Write parameters fileOutput += "<ows:Parameter name=\"AcceptVersions\"> " + "<ows:AllowedValues> " + "<ows:Value>2.0.0</ows:Value>" + "</ows:AllowedValues>" + "</ows:Parameter>" ; fileOutput += "<ows:Parameter name=\"AcceptFormats\">" + "<ows:AllowedValues> " + "<ows:Value>text/xml</ows:Value>" + "</ows:AllowedValues>" + "</ows:Parameter>" ; fileOutput += "<ows:Parameter name=\"Sections\"> " + "<ows:AllowedValues> " + "<ows:Value>ServiceIdentification</ows:Value> " + "<ows:Value>ServiceProvider</ows:Value> " + "<ows:Value>OperationsMetadata</ows:Value> " + "<ows:Value>FeatureTypeList</ows:Value> " + "</ows:AllowedValues>" + "</ows:Parameter>" ; fileOutput += "<ows:Parameter name=\"version\"> " + "<ows:AllowedValues> " + "<ows:Value>2.0.0</ows:Value>" + "</ows:AllowedValues>" + "</ows:Parameter>" ; // Write constraints writeAConstraint ( "ImplementsBasicWFS" , true ) ; writeAConstraint ( "ImplementsTransactionalWFS" , false ) ; writeAConstraint ( "ImplementsLockingWFS" , false ) ; writeAConstraint ( "KVPEncoding" , false ) ; writeAConstraint ( "XMLEncoding" , true ) ; writeAConstraint ( "SOAPEncoding" , false ) ; writeAConstraint ( "ImplementsInheritance" , false ) ; writeAConstraint ( "ImplementsRemoteResolve" , false ) ; writeAConstraint ( "ImplementsResultPaging" , false ) ; writeAConstraint ( "ImplementsStandardJoins" , false ) ; writeAConstraint ( "ImplementsSpatialJoins" , false ) ; writeAConstraint ( "ImplementsTemporalJoins" , false ) ; writeAConstraint ( "ImplementsFeatureVersioning" , false ) ; writeAConstraint ( "ManageStoredQueries" , false ) ; writeAConstraint ( "PagingIsTransactionSafe" , false ) ; writeAConstraint ( "QueryExpressions" , false ) ; fileOutput += "</ows:OperationsMetadata>" ; }
Takes all added operations and writes an operations metadata section .