Uses of Class
org.gedcomx.Gedcomx
-
Packages that use Gedcomx Package Description org.gedcomx The base GEDCOM X data format.org.gedcomx.records The sources model.org.gedcomx.rt org.gedcomx.util -
-
Uses of Gedcomx in org.gedcomx
Methods in org.gedcomx that return Gedcomx Modifier and Type Method Description GedcomxGedcomx. addMainPersonDescription()Add a description for the main person in this document.GedcomxGedcomx. addPersonDescription(Person person, Date lastModified, DateFormat dateFormat, String version, URI collectionUri)Add a description for the person in this document.GedcomxGedcomx. agent(Agent agent)Build this out with a agent.GedcomxGedcomx. attribution(Attribution attribution)Build this out with an attribution.GedcomxGedcomx. collection(Collection collection)Build this out with a collection.GedcomxGedcomx. descriptionRef(URI descriptionRef)Build out this with a description ref.GedcomxGedcomx. document(Document document)Build this out with a document.GedcomxGedcomx. event(Event event)Build this out with a event.GedcomxGedcomx. extensionElement(Object element)GedcomxGedcomx. field(Field field)Build this out with a field.GedcomxGedcomx. fixLocalReferences()Fixes all references to entities that are in the document to be local references.GedcomxGedcomx. id(String id)GedcomxGedcomx. lang(String lang)Build out this envelope with a lang.GedcomxGedcomx. link(String rel, URI href)GedcomxGedcomx. link(Link link)GedcomxGedcomx. person(Person person)Build this out with a person.GedcomxGedcomx. place(PlaceDescription place)Build this out with a place.GedcomxGedcomx. recordDescriptor(RecordDescriptor recordDescriptor)Build this out with a record descriptor.GedcomxGedcomx. relationship(Relationship relationship)Build this out with a relationship.GedcomxGedcomx. sourceDescription(SourceDescription sourceDescription)Build this out with a source description.Methods in org.gedcomx with parameters of type Gedcomx Modifier and Type Method Description voidGedcomx. embed(Gedcomx gedcomx) -
Uses of Gedcomx in org.gedcomx.records
Methods in org.gedcomx.records that return Gedcomx Modifier and Type Method Description GedcomxRecordSet. 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 Gedcomx Modifier and Type Method Description List<Gedcomx>RecordSet. getRecords()The records included in this genealogical data set.Stream<Gedcomx>RecordSet. records()Create a stream for the records.Methods in org.gedcomx.records with parameters of type Gedcomx Modifier and Type Method Description RecordSetRecordSet. metadata(Gedcomx metadata)Build out this record set with metadata.RecordSetRecordSet. record(Gedcomx record)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 Gedcomx Modifier and Type Method Description voidRecordSet. 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 Gedcomx Modifier and Type Method Description static ExtensibleDataGedcomxLocalReferenceResolver. resolve(String resourceId, Gedcomx document)static ExtensibleDataGedcomxLocalReferenceResolver. resolve(ResourceReference ref, Gedcomx document)static ExtensibleDataGedcomxLocalReferenceResolver. resolve(URI ref, Gedcomx document)voidGedcomxLocalReferenceResolver. 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 Gedcomx Modifier and Type Method Description GedcomxFieldMap. getCollection()Get the GedcomX document for the collection that the record is found in.GedcomxDocMap. getDocument()Get the Gedcomx document that was used to create this DocMap.GedcomxJsonRecordSetIterator. getMetadata()This should be read last as you cannot be sure of when the metadata will appear in the data stream.GedcomxRecordSetIterator. getMetadata()Retrieve the metadata for the RecordSet.GedcomxXmlRecordSetIterator. getMetadata()GedcomxFieldMap. getRecord()Get the GedcomX document for the record.GedcomxJsonRecordSetIterator. next()GedcomxRecordSetIterator. next()Get the next Gedcomx Record from the RecordSet.GedcomxXmlRecordSetIterator. next()Methods in org.gedcomx.util with parameters of type Gedcomx Modifier and Type Method Description static 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.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 booleanFieldMap. 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.voidRecordSetWriter. setMetadata(Gedcomx metadata)Set the 'metadata' document, which will be written after all of the records.voidDocMap. update(Gedcomx doc)Update 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 Gedcomx Constructor Description DocMap(Gedcomx doc)Constructor.FieldMap(Gedcomx record, Gedcomx collection)Constructor for a collection and record GedcomX document.JsonRecordSetWriter(OutputStream outputStream, Gedcomx metadata)Constructor.
-