Package org.geowebcache.config.meta

Examples of org.geowebcache.config.meta.ServiceProvider


        str.append("</Service>\n");
    }

    private void serviceContact(StringBuilder str) {
        ServiceInformation servInfo = tld.getServiceInformation();
        ServiceProvider servProv = null;
        ServiceContact servCont = null;

        if (servInfo != null) {
            servProv = servInfo.serviceProvider;
View Full Code Here


        str.append("</ows:ServiceIdentification>\n");
    }
   
    private void serviceProvider(StringBuilder str) {
        ServiceInformation servInfo = tld.getServiceInformation();
        ServiceProvider servProv = null;
        if(servInfo != null) {
            servProv = servInfo.serviceProvider;
        }
        str.append("<ows:ServiceProvider>\n");
       
View Full Code Here

        xml.endElement("ows:ServiceIdentification");
    }
   
    private void serviceProvider(XMLBuilder xml) throws IOException {
        ServiceInformation servInfo = tld.getServiceInformation();
        ServiceProvider servProv = null;
        if(servInfo != null) {
            servProv = servInfo.getServiceProvider();
        }
        xml.indentElement("ows:ServiceProvider");
       
        if(servProv != null) {
            appendTag(xml, "ows:ProviderName", servProv.getProviderName(), null);
           
            if(servProv.getProviderSite() != null) {
                xml.indentElement("ows:ProviderSite").attribute("xlink:href", servProv.getProviderSite()).endElement();
            }
           
            ServiceContact servCont = servProv.getServiceContact();
            if(servCont != null) {
                xml.indentElement("ows:ServiceContact");
                appendTag(xml, "ows:IndividualName", servCont.getIndividualName(), null);
                appendTag(xml, "ows:PositionName", servCont.getPositionName(), null);
                xml.indentElement("ows:ContactInfo");
View Full Code Here

        ServiceInformation servInfo = tld.getServiceInformation();
        if (servInfo == null) {
            return;
        }

        ServiceProvider servProv = servInfo.getServiceProvider();
        if (servProv == null) {
            return;
        }

        ServiceContact servCont = servProv.getServiceContact();

        xml.indentElement("ContactInformation");

        if (servProv.getProviderName() != null || servCont != null) {
            xml.indentElement("ContactPersonPrimary");
            if (servCont != null) {
                xml.simpleElement("ContactPerson",servCont.getIndividualName(), true);
            }
            xml.simpleElement("ContactOrganization",servProv.getProviderName(), true);
            xml.endElement();

            if (servCont != null) {
                xml.simpleElement("ContactPosition", servCont.getPositionName(), true);
View Full Code Here

TOP

Related Classes of org.geowebcache.config.meta.ServiceProvider

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.