Examples of PersonName


Examples of net.sf.jabref.mods.PersonName

    if(authorsLst == null)
      return;
    Element authorTop = d.createElement(bcol+entryName);
    Element nameList = d.createElement(bcol+"NameList");
    for(Iterator<PersonName> iter = authorsLst.iterator(); iter.hasNext();) {
      PersonName name = iter.next();
      Element person = d.createElement(bcol+"Person");
      addField(d, person,"Last",name.getSurname());
      addField(d, person,"Middle",name.getMiddlename());
      addField(d, person,"First",name.getFirstname());
      nameList.appendChild(person);
    }
    authorTop.appendChild(nameList);
   
    allAuthors.appendChild(authorTop);
View Full Code Here

Examples of net.sf.jabref.mods.PersonName

    if(authorsLst == null)
      return;
    String allAuthors = "";
    boolean First = true;
    for(Iterator<PersonName> iter = authorsLst.iterator(); iter.hasNext();) {
      PersonName name = iter.next();
      if(First == false)
        allAuthors += " and ";
      allAuthors += name.getFullname();
      First = false;
    }
    hm.put(type,allAuthors);
  }
View Full Code Here

Examples of oasis.names.tc.wsrp.v1.types.PersonName

        userContext.setUserContextKey(userId);

        UserProfile userProfile = new UserProfile();
        this.fill(userProfile, userContext);

        PersonName personName = new PersonName();
        this.fill(personName, userContext);

        userProfile.setName(personName);
        userContext.setProfile(userProfile);
View Full Code Here

Examples of org.apache.juddi.datatype.PersonName

      handler = maker.lookup(DescriptionHandler.TAG_NAME);
      for (int i=0; i < descrVector.size(); i++)
        handler.marshal((Description)descrVector.elementAt(i),element);
    }

    PersonName personName = contact.getPersonName();
    if ((personName != null))
    {
      handler = maker.lookup(PersonNameHandler.TAG_NAME);
      handler.marshal(personName,element);
    }
View Full Code Here

Examples of org.apache.juddi.datatype.PersonName

  {
  }

  public RegistryObject unmarshal(Element element)
  {
    PersonName obj = new PersonName();

    // Attributes
    // {none}

    // Text Node Value
    obj.setValue(XMLUtils.getText(element));

    // Child Elements
    // {none}

    return obj;
View Full Code Here

Examples of org.apache.juddi.datatype.PersonName

    return obj;
  }

  public void marshal(RegistryObject object,Element parent)
  {
    PersonName name = (PersonName)object;
    String generic = getGeneric(null);
    String namespace = getUDDINamespace(generic);
    Element element = parent.getOwnerDocument().createElementNS(namespace,TAG_NAME);

    String nameValue = name.getValue();
    if ((nameValue != null) && (nameValue.trim().length() > 0))
      element.appendChild(parent.getOwnerDocument().createTextNode(nameValue));

    parent.appendChild(element);
  }
View Full Code Here

Examples of org.apache.juddi.datatype.PersonName

    this.maker = maker;
  }

  public RegistryObject unmarshal(Element element)
  {
    PersonName obj = new PersonName();

    // Attributes
    // {none}

    // Text Node Value
    obj.setValue(XMLUtils.getText(element));

    // Child Elements
    // {none}

    return obj;
View Full Code Here

Examples of org.apache.juddi.datatype.PersonName

    return obj;
  }

  public void marshal(RegistryObject object,Element parent)
  {
    PersonName name = (PersonName)object;
    Element element = parent.getOwnerDocument().createElementNS(null,TAG_NAME);

    String nameValue = name.getValue();
    if ((nameValue != null) && (nameValue.trim().length() > 0))
      element.appendChild(parent.getOwnerDocument().createTextNode(nameValue));

    parent.appendChild(element);
  }
View Full Code Here

Examples of org.apache.juddi.datatype.PersonName

  public PersonName getPersonName()
  {
    if (this.personName == null)
      return null;
    else
      return new PersonName(this.personName);
  }
View Full Code Here

Examples of org.apache.juddi.datatype.PersonName

      handler = maker.lookup(DescriptionHandler.TAG_NAME);
      for (int i=0; i < descrVector.size(); i++)
        handler.marshal((Description)descrVector.elementAt(i),element);
    }

    PersonName personName = contact.getPersonName();
    if ((personName != null))
    {
      handler = maker.lookup(PersonNameHandler.TAG_NAME);
      handler.marshal(personName,element);
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.