public class DocCheck extends Object
| Constructor and Description |
|---|
DocCheck() |
| Modifier and Type | Method and Description |
|---|---|
static String |
checkDocument(Gedcomx doc)
Check a GedcomX document for problems.
|
static String |
checkDocument(Gedcomx doc,
Gedcomx collection)
Check a GedcomX document for problems.
|
static String |
checkRecordSet(RecordSet records,
Gedcomx collection)
Check a GedcomX RecordSet for problems.
|
public static String checkDocument(Gedcomx doc)
doc - - Document to checkpublic static String checkDocument(Gedcomx doc, Gedcomx collection)
doc - - Historical Record document to check.collection - - Collection document to find RecordDescriptor in.public static String checkRecordSet(RecordSet records, Gedcomx collection)
records - - Set of GedcomX documents to check.collection - - Collection to use to check RecordDescriptors and labelIds.
If null, use records.getMetadata(), if any, or else don't check label IDs.Copyright © 2016. All rights reserved.