| Package | Description |
|---|---|
| org.gedcomx |
The base GEDCOM X data format.
|
| org.gedcomx.records |
The sources model.
|
| org.gedcomx.rt | |
| org.gedcomx.util |
| Modifier and Type | Method and Description |
|---|---|
Gedcomx |
Gedcomx.agent(Agent agent)
Build this out with a agent.
|
Gedcomx |
Gedcomx.attribution(Attribution attribution)
Build this out with an attribution.
|
Gedcomx |
Gedcomx.collection(Collection collection)
Build this out with a collection.
|
Gedcomx |
Gedcomx.descriptionRef(URI descriptionRef)
Build out this with a description ref.
|
Gedcomx |
Gedcomx.document(Document document)
Build this out with a document.
|
Gedcomx |
Gedcomx.event(Event event)
Build this out with a event.
|
Gedcomx |
Gedcomx.field(Field field)
Build this out with a field.
|
Gedcomx |
Gedcomx.lang(String lang)
Build out this envelope with a lang.
|
Gedcomx |
Gedcomx.person(Person person)
Build this out with a person.
|
Gedcomx |
Gedcomx.place(PlaceDescription place)
Build this out with a place.
|
Gedcomx |
Gedcomx.recordDescriptor(RecordDescriptor recordDescriptor)
Build this out with a record descriptor.
|
Gedcomx |
Gedcomx.relationship(Relationship relationship)
Build this out with a relationship.
|
Gedcomx |
Gedcomx.sourceDescription(SourceDescription sourceDescription)
Build this out with a source description.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Gedcomx.embed(Gedcomx gedcomx) |
| Modifier and Type | Method and Description |
|---|---|
Gedcomx |
RecordSet.getMetadata()
Metadata about this record set; shared among all records in the set.
|
| Modifier and Type | Method and Description |
|---|---|
List<Gedcomx> |
RecordSet.getRecords()
The records included in this genealogical data set.
|
| Modifier and Type | Method and Description |
|---|---|
RecordSet |
RecordSet.metadata(Gedcomx metadata)
Build out this record set with metadata.
|
RecordSet |
RecordSet.record(Gedcomx record)
Build out this record set with a record.
|
void |
RecordSet.setMetadata(Gedcomx metadata)
Metadata about this record set; shared among all records in the set.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RecordSet.setRecords(List<Gedcomx> records)
The records included in this genealogical data set.
|
| Modifier and Type | Method and Description |
|---|---|
static ExtensibleData |
GedcomxLocalReferenceResolver.resolve(ResourceReference ref,
Gedcomx document) |
static ExtensibleData |
GedcomxLocalReferenceResolver.resolve(String resourceId,
Gedcomx document) |
static ExtensibleData |
GedcomxLocalReferenceResolver.resolve(URI ref,
Gedcomx document) |
void |
GedcomxModelVisitorBase.visitGedcomx(Gedcomx gx) |
void |
GedcomxModelVisitor.visitGedcomx(Gedcomx gx) |
void |
GedcomxLocalReferenceResolver.visitGedcomx(Gedcomx gx) |
| Modifier and Type | Method and Description |
|---|---|
Gedcomx |
FieldMap.getCollection()
Get the GedcomX document for the collection that the record is found in.
|
Gedcomx |
DocMap.getDocument()
Get the Gedcomx document that was used to create this DocMap.
|
Gedcomx |
JsonRecordSetIterator.getMetadata()
This should be read last as you cannot be sure of when the metadata will appear in the data stream.
|
Gedcomx |
XmlRecordSetIterator.getMetadata() |
Gedcomx |
RecordSetIterator.getMetadata()
Retrieve the metadata for the RecordSet.
|
Gedcomx |
FieldMap.getRecord()
Get the GedcomX document for the record.
|
Gedcomx |
JsonRecordSetIterator.next() |
Gedcomx |
XmlRecordSetIterator.next() |
Gedcomx |
RecordSetIterator.next()
Get the next Gedcomx Record from the RecordSet.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
DocCheck.checkDocument(Gedcomx doc)
Check a GedcomX document for problems.
|
static String |
DocCheck.checkDocument(Gedcomx doc,
Gedcomx collection)
Check a GedcomX document for problems.
|
static String |
DocCheck.checkRecordSet(RecordSet records,
Gedcomx collection)
Check a GedcomX RecordSet for problems.
|
static Map<String,Agent> |
DocMap.getAgentMap(Gedcomx doc)
Create a map of local id (and "#" + id) to the Agent that has that id.
|
static List<Field> |
FieldMap.getAllFields(Gedcomx record)
Create a list of all of the fields occurring in the given GedcomX record, including those found
within the various values.
|
static Map<Person,List<Field>> |
FieldMap.getPersonFieldMap(Gedcomx record)
Get a map of Person to the list of Fields for that person.
|
static Map<String,Person> |
DocMap.getPersonMap(Gedcomx doc)
Create a map of local id (and "#" + id) as well as all person identifiers to the local Person object
with that id or identifier.
|
static Map<String,PlaceDescription> |
DocMap.getPlaceMap(Gedcomx doc)
Create a map of local id (and "#" + id) and identifier URIs to the PlaceDescription that has that id or URL.
|
static Map<String,RecordDescriptor> |
DocMap.getRecordDescriptorMap(Gedcomx doc)
Create a map of local id (and "#" + id) to the RecordDescriptor that has that id.
|
static Map<String,SourceDescription> |
DocMap.getSourceDescriptionMap(Gedcomx doc)
Create a map of id (and "#" + id) and all identifier URI strings to SourceDescription with that ID,
to make it easier to look up SourceDescriptions that are referenced elsewhere.
|
static boolean |
FieldMap.isCensus(Gedcomx record)
Tell whether the given record is a Census record, i.e., if it has a SourceDescription with a Coverage with
a RecordType of Census.
|
void |
RecordSetWriter.setMetadata(Gedcomx metadata)
Set the 'metadata' document, which will be written after all of the records.
|
void |
DocMap.update(Gedcomx doc)
Update the maps with the given GedcomX document (e.g., when the document has changed).
|
void |
JsonRecordSetWriter.writeRecord(Gedcomx record) |
void |
RecordSetWriter.writeRecord(Gedcomx record)
Write the given record to the underlying byte-level (and possibly GZipped) output stream.
|
| Constructor and Description |
|---|
DocMap(Gedcomx doc)
Constructor.
|
FieldMap(Gedcomx record,
Gedcomx collection)
Constructor for a collection and record GedcomX document.
|
JsonRecordSetWriter(OutputStream outputStream,
Gedcomx metadata)
Constructor.
|
Copyright © 2016. All rights reserved.