jimmc.roots
Class RootsAddress

java.lang.Object
  |
  +--jimmc.roots.RootsRecord
        |
        +--jimmc.roots.RootsAddress

public class RootsAddress
extends RootsRecord

RootsAddress is an address for a person or union.


Fields inherited from class jimmc.roots.RootsRecord
base, comment, editDate, key, keyComment, note1, note2, note2d, sources, sourceString
 
Constructor Summary
RootsAddress(RootsBase base)
           
 
Method Summary
protected  boolean addNcv(Ncv nv)
           
 RootsRecord[] findReference(java.lang.String what)
          Find a referenced record.
 void formatNcvBody(java.lang.StringBuffer sb)
          Print out the body of an address record
 java.lang.String formatNcvType()
          Print out the type of an address record
 java.lang.String formatOneLine(PrintOptions po)
          Format a one-line summary.
protected  void link()
          Fix up the links in a record that point to another record.
static RootsAddress 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, fieldMatches, findListReference, formatBrief, formatGedcom, formatGedcomBody, formatGedcomEvent, formatGedcomItem, formatGedcomKey, formatGedcomKey, formatGedcomReference, formatKey, formatKey, formatKeyLine, formatLabeledItem, formatLabeledItem, formatLabeledItems, formatLabeledItems, formatMedium, formatMultiLine, formatNcv, formatNcvItem, formatNote1, layoutBox, layoutBoxReference, layoutCtree, parseDate, parseDates
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RootsAddress

public RootsAddress(RootsBase base)
Method Detail

ParseNcvLines

public static RootsAddress ParseNcvLines(RootsBase base,
                                         java.lang.String[] lines)

addNcv

protected boolean addNcv(Ncv nv)
Overrides:
addNcv in class RootsRecord

link

protected void link()
Description copied from class: RootsRecord
Fix up the links in a record that point to another record.
Overrides:
link in class RootsRecord

formatNcvType

public java.lang.String formatNcvType()
Print out the type of an address record
Overrides:
formatNcvType in class RootsRecord

formatNcvBody

public void formatNcvBody(java.lang.StringBuffer sb)
Print out the body of an address record
Overrides:
formatNcvBody in class RootsRecord

formatOneLine

public java.lang.String formatOneLine(PrintOptions po)
Description copied from class: RootsRecord
Format a one-line summary.
Overrides:
formatOneLine in class RootsRecord

findReference

public RootsRecord[] findReference(java.lang.String what)
Description copied from class: RootsRecord
Find a referenced record.
Overrides:
findReference in class RootsRecord
Following copied from class: jimmc.roots.RootsRecord
Parameters:
what - the name of the reference item to follow
Returns:
the referenced record, or null if not found

println

public void println(java.lang.String s)
Description copied from class: RootsRecord
Print a line of text to the output stream associated with our base.
Overrides:
println in class RootsRecord