Package org.geotools.metadata.iso.citation

Examples of org.geotools.metadata.iso.citation.ResponsiblePartyImpl


     */
    public Object getValue(Element element, ElementValue[] value,
        Attributes attrs, Map hints) throws SAXException,
        OperationNotSupportedException {
     
      ResponsiblePartyImpl contactPerson = null;
      for (int i = 0; i < value.length; i++) {
        if (sameName(elems[0], value[i])) {
          contactPerson = (ResponsiblePartyImpl) value[i].getValue();
        }
      }
      if (contactPerson == null) {
        contactPerson = new ResponsiblePartyImpl();
      }
     
      TelephoneImpl telephone = null;
      AddressImpl address = null;
      ContactImpl contact = new ContactImpl();
     
      for (int i = 0; i < value.length; i++) {
       
        contactPerson.setContactInfo(contact);
       
        if (sameName(elems[1], value[i])) {
          String positionName = (String) value[i].getValue();
          contactPerson.setPositionName(new SimpleInternationalString(positionName));
        }
       
        if (sameName(elems[2], value[i])) {
          address = (AddressImpl) value[i].getValue();
        }
View Full Code Here


     */
    public Object getValue(Element element, ElementValue[] value,
        Attributes attrs, Map hints) throws SAXException,
        OperationNotSupportedException {
     
      ResponsiblePartyImpl responsibleParty = new ResponsiblePartyImpl();

      for (int i = 0; i < value.length; i++) {
        if (sameName(elems[0], value[i])) {
          String name = (String) value[i].getValue();
          responsibleParty.setIndividualName(name);
        }
       
        if (sameName(elems[1], value[i])) {
          String organization = (String) value[i].getValue();
          responsibleParty.setOrganisationName(new SimpleInternationalString(organization));
        }
      }
     
      return responsibleParty;
    }
View Full Code Here

        if (sameName(elems[4], value[i])) {
          service.setOnlineResource((URL) value[i].getValue());
        }

        if (sameName(elems[5], value[i])) {
          ResponsiblePartyImpl contactInfo = (ResponsiblePartyImpl) value[i].getValue();
          service.setContactInformation(contactInfo);
        }

        // if (sameName(elems[6], value[i])) {
        // //TODO fees not implemented, ignoring
View Full Code Here

                    }
                    else {
                        oldParty = null;
                    }
                }
                final ResponsiblePartyImpl party = new ResponsiblePartyImpl(oldParty);
                party.setRole(Role.RESOURCE_PROVIDER);
                party.setContactInfo(new ContactImpl(resource));
                parties.add(party);
                authority = (Citation) citation.unmodifiable();
            } catch (URISyntaxException exception) {
                // Invalid URI syntax. Ignore, since this property
                // was really just for information purpose.
View Full Code Here

TOP

Related Classes of org.geotools.metadata.iso.citation.ResponsiblePartyImpl

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.