Package org.gedcom4j.model

Examples of org.gedcom4j.model.Submitter


    @Test
    public void testSourceSystem() {
        Gedcom g = new Gedcom();
        rootValidator.gedcom = g;
        rootValidator.autorepair = false;
        Submitter s = new Submitter();
        s.xref = "@SUBM0001@";
        s.name = new StringWithCustomTags("test");
        g.submitters.put(s.xref, s);
        Header h = g.header;
        h.submitter = s;
View Full Code Here


        String fn = System.getProperty("java.io.tmpdir") + System.getProperty("file.separator")
                + "gedcomfilewritertest.ged";
        Gedcom g = new Gedcom();
        g.submission = new Submission("@SUBN0001@");
        g.header.submission = g.submission;
        Submitter s = new Submitter();
        s.xref = "@SUBM0001@";
        s.name = new StringWithCustomTags("Joe Tester");
        g.submitters.put(s.xref, s);
        g.header.submitter = s;
        GedcomWriter gw = new GedcomWriter(g);
View Full Code Here

TOP

Related Classes of org.gedcom4j.model.Submitter

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.