org.opengis.cite.wfs20.nsg.utils.NamespaceUtils Maven / Gradle / Ivy
package org.opengis.cite.wfs20.nsg.utils;
import static org.opengis.cite.wfs20.nsg.testsuite.NSGWFSConstants.NSG_NAMESPACE;
import org.opengis.cite.iso19142.util.NamespaceBindings;
/**
* @author Lyn Goltz
*/
public class NamespaceUtils {
/**
* Creates a NamespaceBindings object that declares the following namespace bindings:
*
*
* - wfs: {@value org.opengis.cite.iso19142.Namespaces#WFS}
* - fes: {@value org.opengis.cite.iso19142.Namespaces#FES}
* - ows: {@value org.opengis.cite.iso19142.Namespaces#OWS}
* - xlink: {@value org.opengis.cite.iso19142.Namespaces#XLINK}
* - gml: {@value org.opengis.cite.iso19142.Namespaces#GML}
* - soap: {@value org.opengis.cite.iso19142.Namespaces#SOAP_ENV}
* - soap11: {@value org.opengis.cite.iso19142.Namespaces#SOAP11}
* - xsi: {@value javax.xml.XMLConstants#W3C_XML_SCHEMA_INSTANCE_NS_URI}
*
*
* @return A NamespaceBindings object.
*/
public static NamespaceBindings withStandardBindings() {
NamespaceBindings nsBindings = NamespaceBindings.withStandardBindings();
nsBindings.addNamespaceBinding( NSG_NAMESPACE, "nsg" );
return nsBindings;
}
}