Package gov.nasa.worldwind.ogc

Examples of gov.nasa.worldwind.ogc.OGCServiceInformation


        }

        XMLEventParser defaultParser = null;

        if (ctx.isStartElement(event, SERVICE))
            defaultParser = new OGCServiceInformation(this.getNamespaceURI());

        return ctx.allocate(event, defaultParser);
    }
View Full Code Here


        SERVICE = new QName(this.getNamespaceURI(), "Service");
        CAPABILITY = new QName(this.getNamespaceURI(), "Capability");
        VERSION = new QName(this.getNamespaceURI(), "version");
        UPDATE_SEQUENCE = new QName(this.getNamespaceURI(), "updateSequence");

        this.getParserContext().registerParser(SERVICE, new OGCServiceInformation(this.getNamespaceURI()));
        // Capability parser is registered by subclass.
    }
View Full Code Here

      GfrWMSCapabilities cap = GfrWMSCapabilities.retrieve(uri);
      cap.parse();
     
      String strVersionService = cap.getVersion();
     
      OGCServiceInformation sin = cap.getServiceInformation();
     
      String strFeesService = sin.getFees();
      String strAbstractService = sin.getServiceAbstract();
      String strNameService = sin.getServiceName();
      String strTitleService = sin.getServiceTitle();
     
      // memo: strTitleService used to display node's userObject in JTree, allowed to be not unique
       if (strTitleService == null)
       {
           String strError = "strTitleService == null";
           GfrCapWms._LOGGER_.severe(strError);
           throw new Exception(strError);
       }
      
       strTitleService = strTitleService.trim();
      
       if (strTitleService.length() < 1)
       {
           String strError = "strTitleService.length() < 1";
           GfrCapWms._LOGGER_.severe(strError);
           throw new Exception(strError);
       }
     
     
     
     
      OGCContactInformation cin = sin.getContactInformation();
      String strPrimaryPersonContact = cin.getPersonPrimary();
      String strPositionContact = cin.getPosition();
      String strOrganisationContact = cin.getOrganization();
      String strTelephoneVoiceContact = cin.getVoiceTelephone();
      String strTelephoneFacsimileContact = cin.getFacsimileTelephone();
View Full Code Here

TOP

Related Classes of gov.nasa.worldwind.ogc.OGCServiceInformation

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.