|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gedcomx.util.DocCheck
public class DocCheck
Class for checking a GedcomX document to make sure its references are consistent. User: Randy Wilson Date: 10/2/2014 Time: 3:49 PM
| Constructor Summary | |
|---|---|
DocCheck()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DocCheck()
| Method Detail |
|---|
public static String checkDocument(Gedcomx doc)
doc - - Document to check
public 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.
null => use records.getMetadata(), if any, or else don't check label IDs.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||