|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jimmc.roots.RootsRecord | +--jimmc.roots.RootsPerson
RootsPerson represents one individual.
Fields inherited from class jimmc.roots.RootsRecord |
base, comment, editDate, key, keyComment, note1, note2, note2d, sources, sourceString |
Constructor Summary | |
RootsPerson(RootsBase base)
|
Method Summary | |
protected boolean |
addNcv(Ncv nv)
|
boolean |
fieldMatches(java.lang.String fieldName,
java.lang.String pattern)
Return true if the specified field matches the given pattern. |
static RootsPerson[] |
FindRecordList(RootsBase base,
java.lang.String s)
|
RootsRecord[] |
findReference(java.lang.String what)
Find the specified reference relative to this record. |
java.lang.String |
formatBrief(PrintOptions po)
Format a brief listing of the record |
java.lang.String |
formatFamily(PrintOptions po)
Return a string with the family name and an underline. |
protected void |
formatGedcomBody(java.lang.StringBuffer sb,
int level)
Format the body of a Gedcom record |
protected void |
formatGedcomKey(java.lang.StringBuffer sb,
int level)
Format the key line for a Gedcom record. |
java.lang.String |
formatName()
|
void |
formatName(java.lang.StringBuffer sb)
|
void |
formatNcvBody(java.lang.StringBuffer sb)
Print out the body of a person record |
java.lang.String |
formatNcvType()
Format the type of this record; subclass must override |
java.lang.String |
formatOneLine(PrintOptions po)
Format a one-line summary. |
java.lang.String[] |
getCtreeReferenceKeys()
Our references are marriage and parents. |
protected void |
layoutBox(Layout layout,
PrintOptions po,
java.lang.String markKey)
Fill in the layout for a ctree for just this record. |
void |
layoutCtree(Layout layout,
PrintOptions po)
Fill in the layout with information for a ctree for this record plus other required for the ctree layout. |
protected void |
link()
Fix up the links in a record that point to another record. |
protected void |
parseDates()
Check and parse any dates in this record into individual fields. |
static RootsPerson |
ParseNcvLines(RootsBase base,
java.lang.String[] lines)
|
void |
println(java.lang.String s)
Print a line of text to the output stream associated with our base. |
Methods inherited from class jimmc.roots.RootsRecord |
asArray, findListReference, formatGedcom, formatGedcomEvent, formatGedcomItem, formatGedcomKey, formatGedcomReference, formatKey, formatKey, formatKeyLine, formatLabeledItem, formatLabeledItem, formatLabeledItems, formatLabeledItems, formatMedium, formatMultiLine, formatNcv, formatNcvItem, formatNote1, getKey, layoutBoxReference, parseDate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RootsPerson(RootsBase base)
Method Detail |
public static RootsPerson ParseNcvLines(RootsBase base, java.lang.String[] lines)
protected boolean addNcv(Ncv nv)
addNcv
in class RootsRecord
protected void link()
RootsRecord
link
in class RootsRecord
protected void parseDates()
RootsRecord
parseDates
in class RootsRecord
public static RootsPerson[] FindRecordList(RootsBase base, java.lang.String s)
protected void formatGedcomKey(java.lang.StringBuffer sb, int level)
formatGedcomKey
in class RootsRecord
protected void formatGedcomBody(java.lang.StringBuffer sb, int level)
formatGedcomBody
in class RootsRecord
public java.lang.String formatNcvType()
RootsRecord
formatNcvType
in class RootsRecord
public void formatNcvBody(java.lang.StringBuffer sb)
formatNcvBody
in class RootsRecord
public java.lang.String formatOneLine(PrintOptions po)
RootsRecord
formatOneLine
in class RootsRecord
public java.lang.String formatBrief(PrintOptions po)
RootsRecord
formatBrief
in class RootsRecord
public java.lang.String formatName()
public void formatName(java.lang.StringBuffer sb)
public java.lang.String formatFamily(PrintOptions po)
public java.lang.String[] getCtreeReferenceKeys()
getCtreeReferenceKeys
in class RootsRecord
public void layoutCtree(Layout layout, PrintOptions po)
layoutCtree
in class RootsRecord
protected void layoutBox(Layout layout, PrintOptions po, java.lang.String markKey)
layoutBox
in class RootsRecord
public RootsRecord[] findReference(java.lang.String what)
findReference
in class RootsRecord
what
- Relative reference name:
public boolean fieldMatches(java.lang.String fieldName, java.lang.String pattern)
fieldMatches
in class RootsRecord
fieldName
- the name of the field to match
pattern
- the pattern to match against.public void println(java.lang.String s)
RootsRecord
println
in class RootsRecord
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |