Uses of Class
org.gedcomx.Gedcomx
Packages that use Gedcomx
Package
Description
The base GEDCOM X data format.
The sources model.
-
Uses of Gedcomx in org.gedcomx
Methods in org.gedcomx that return GedcomxModifier and TypeMethodDescriptionGedcomx.addMainPersonDescription()Add a description for the main person in this document.Gedcomx.addPersonDescription(Person person, Date lastModified, DateFormat dateFormat, String version, URI collectionUri) Add a description for the person in this document.Build this out with a agent.Gedcomx.attribution(Attribution attribution) Build this out with an attribution.Gedcomx.collection(Collection collection) Build this out with a collection.Gedcomx.descriptionRef(URI descriptionRef) Build out this with a description ref.Build this out with a document.Build this out with a event.Gedcomx.extensionElement(Object element) Build this out with a field.Gedcomx.fixLocalReferences()Fixes all references to entities that are in the document to be local references.Build out this envelope with a lang.Build this out with a person.Gedcomx.place(PlaceDescription place) Build this out with a place.Gedcomx.recordDescriptor(RecordDescriptor recordDescriptor) Build this out with a record descriptor.Gedcomx.relationship(Relationship relationship) Build this out with a relationship.Gedcomx.sourceDescription(SourceDescription sourceDescription) Build this out with a source description.Methods in org.gedcomx with parameters of type GedcomxConstructors in org.gedcomx with parameters of type Gedcomx -
Uses of Gedcomx in org.gedcomx.records
Methods in org.gedcomx.records that return GedcomxModifier and TypeMethodDescriptionRecordSet.getMetadata()Metadata about this record set; shared among all records in the set.Methods in org.gedcomx.records that return types with arguments of type GedcomxModifier and TypeMethodDescriptionRecordSet.getRecords()The records included in this genealogical data set.RecordSet.records()Create a stream for the records.Methods in org.gedcomx.records with parameters of type GedcomxModifier and TypeMethodDescriptionBuild out this record set with metadata.Build out this record set with a record.voidRecordSet.setMetadata(Gedcomx metadata) Metadata about this record set; shared among all records in the set.Method parameters in org.gedcomx.records with type arguments of type GedcomxModifier and TypeMethodDescriptionvoidRecordSet.setRecords(List<Gedcomx> records) The records included in this genealogical data set. -
Uses of Gedcomx in org.gedcomx.rt
Methods in org.gedcomx.rt with parameters of type GedcomxModifier and TypeMethodDescriptionstatic ExtensibleDatastatic ExtensibleDataGedcomxLocalReferenceResolver.resolve(ResourceReference ref, Gedcomx document) static ExtensibleDatavoidGedcomxLocalReferenceResolver.visitGedcomx(Gedcomx gx) voidGedcomxModelVisitor.visitGedcomx(Gedcomx gx) voidGedcomxModelVisitorBase.visitGedcomx(Gedcomx gx) -
Uses of Gedcomx in org.gedcomx.util
Methods in org.gedcomx.util that return GedcomxModifier and TypeMethodDescriptionFieldMap.getCollection()Get the GedcomX document for the collection that the record is found in.DocMap.getDocument()Get the Gedcomx document that was used to create this DocMap.JsonRecordSetIterator.getMetadata()This should be read last as you cannot be sure of when the metadata will appear in the data stream.RecordSetIterator.getMetadata()Retrieve the metadata for the RecordSet.XmlRecordSetIterator.getMetadata()FieldMap.getRecord()Get the GedcomX document for the record.JsonRecordSetIterator.next()RecordSetIterator.next()Get the next Gedcomx Record from the RecordSet.XmlRecordSetIterator.next()Methods in org.gedcomx.util with parameters of type GedcomxModifier and TypeMethodDescriptionstatic StringDocCheck.checkDocument(Gedcomx doc) Check a GedcomX document for problems.static StringDocCheck.checkDocument(Gedcomx doc, Gedcomx collection) Check a GedcomX document for problems.static StringDocCheck.checkRecordSet(RecordSet records, Gedcomx collection) Check a GedcomX RecordSet for problems.DocMap.getAgentMap(Gedcomx doc) Create a map of local id (and "#" + id) to the Agent that has that id.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.FieldMap.getPersonFieldMap(Gedcomx record) Get a map of Person to the list of Fields for that 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 booleanTell whether the given record is a Census record, i.e., if it has a SourceDescription with a Coverage with a RecordType of Census.voidRecordSetWriter.setMetadata(Gedcomx metadata) Set the 'metadata' document, which will be written after all of the records.voidUpdate the maps with the given GedcomX document (e.g., when the document has changed).voidJsonRecordSetWriter.writeRecord(Gedcomx record) voidRecordSetWriter.writeRecord(Gedcomx record) Write the given record to the underlying byte-level (and possibly GZipped) output stream.Constructors in org.gedcomx.util with parameters of type GedcomxModifierConstructorDescriptionConstructor.Constructor for a collection and record GedcomX document.JsonRecordSetWriter(OutputStream outputStream, Gedcomx metadata) Constructor.