javatools.parsers
Class Name.PersonName

java.lang.Object
  extended by javatools.parsers.Name
      extended by javatools.parsers.Name.PersonName
Enclosing class:
Name

public static class Name.PersonName
extends Name


Nested Class Summary
 
Nested classes/interfaces inherited from class javatools.parsers.Name
Name.Abbreviation, Name.CompanyName, Name.PersonName
 
Field Summary
 
Fields inherited from class javatools.parsers.Name
A, ANYNAME, attributePrefix, attributePrefixPattern, B, BC, BD, companyNameSuffix, companyNameSuffixPattern, DG, directFamilyNamePrefix, familyName, familyNamePrefix, familyNamePrefixPattern, familyNameSuffix, familyNameSuffixPattern, givenName, givenNameComponent, givenNames, H, L, languageCodes, laxAbbreviationPattern, laxCompanyPattern, laxName, laxNamePattern, laxPersonNamePattern, nationality2country, nickName, of, or, personNameComponent, prep, roman, safeAbbreviationPattern, safeCompanyPattern, safeName, safeNamePattern, safeNamesPattern, safeNamesPatternNoPrep, safePersonName, safePersonNamePattern, stopWords, teamName, teamNamePattern, title, titlePattern, titles, titlesForGivenNames, U, usStates
 
Constructor Summary
Name.PersonName(java.lang.String s)
          Constructs a person name from a String
 
Method Summary
 java.lang.String attribute()
          Returns the attribute.
 java.lang.String attributePrefix()
          Returns the attributePrefix.
 java.lang.String city()
          Returns the city.
 java.lang.String describe()
          Returns a description
 java.lang.String familyName()
          Returns the familyName.
 java.lang.String familyNamePrefix()
          Returns the familyNamePrefix.
 java.lang.String familyNameSuffix()
          Returns the familyNameSuffix.
 java.lang.String familyNameWithAffixes()
          Returns the familyName with prefix
 java.lang.String givenName()
          Returns the first given name or null
 java.lang.String givenNames()
          Returns the givenNames.
 java.lang.String nickname()
          Returns the nickname.
 java.lang.String normalize()
          Normalizes a person name.
 java.lang.String roman()
          Returns the roman number.
 java.lang.String titles()
          Returns the titles.
 
Methods inherited from class javatools.parsers.Name
c, couldBeAbbreviation, couldBeCompanyName, couldBeName, couldBePersonName, isAbbreviation, isAttributePrefix, isCompanyName, isCompanyNameSuffix, isFamilyNamePrefix, isLanguage, isLanguageCode, isName, isNames, isNation, isNationality, isPersonName, isPersonNameSuffix, isStopWord, isTitle, isUSState, isUSStateAbbreviation, languageForCode, main, mul, mulHyp, nationForNationality, of, opt, optMul, or, original, toString, unabbreviateUSState
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Name.PersonName

public Name.PersonName(java.lang.String s)
Constructs a person name from a String

Method Detail

givenName

public java.lang.String givenName()
Returns the first given name or null


attribute

public java.lang.String attribute()
Returns the attribute.


attributePrefix

public java.lang.String attributePrefix()
Returns the attributePrefix.


city

public java.lang.String city()
Returns the city.


nickname

public java.lang.String nickname()
Returns the nickname.


familyName

public java.lang.String familyName()
Returns the familyName.


familyNameWithAffixes

public java.lang.String familyNameWithAffixes()
Returns the familyName with prefix


familyNamePrefix

public java.lang.String familyNamePrefix()
Returns the familyNamePrefix.


familyNameSuffix

public java.lang.String familyNameSuffix()
Returns the familyNameSuffix.


givenNames

public java.lang.String givenNames()
Returns the givenNames.


roman

public java.lang.String roman()
Returns the roman number.


titles

public java.lang.String titles()
Returns the titles.


normalize

public java.lang.String normalize()
Normalizes a person name.

Overrides:
normalize in class Name

describe

public java.lang.String describe()
Returns a description

Overrides:
describe in class Name