jimmc.roots
Class RootsSource
java.lang.Object
|
+--jimmc.roots.RootsRecord
|
+--jimmc.roots.RootsSource
- public class RootsSource
- extends RootsRecord
RootsSource gives information about a source of data used in the RootsBase.
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, getCtreeReferenceKeys, getKey, layoutBox, layoutBoxReference, layoutCtree, link, parseDate, parseDates |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootsSource
public RootsSource(RootsBase base)
ParseNcvLines
public static RootsSource ParseNcvLines(RootsBase base,
java.lang.String[] lines)
addNcv
protected boolean addNcv(Ncv nv)
- Overrides:
addNcv
in class RootsRecord
FindRecordList
public static RootsSource[] FindRecordList(RootsBase base,
java.lang.String s)
formatNcvType
public java.lang.String formatNcvType()
- Print out the type of a source record
- Overrides:
formatNcvType
in class RootsRecord
formatNcvBody
public void formatNcvBody(java.lang.StringBuffer sb)
- Print out the body of a source 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