org.gedcomx.rt
Class GedcomxModelVisitorBase
java.lang.Object
org.gedcomx.rt.GedcomxModelVisitorBase
- All Implemented Interfaces:
- GedcomxModelVisitor
- Direct Known Subclasses:
- GedcomxLocalReferenceResolver
public class GedcomxModelVisitorBase
- extends Object
- implements GedcomxModelVisitor
Basic, no-op implementation of the GEDCOM X model visitor. Intended to be extended and appropriate methods overridden as needed.
- Author:
- Ryan Heaton
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextStack
protected final LinkedList<Object> contextStack
GedcomxModelVisitorBase
public GedcomxModelVisitorBase()
visitGedcomx
public void visitGedcomx(Gedcomx gx)
- Specified by:
visitGedcomx in interface GedcomxModelVisitor
visitDocument
public void visitDocument(Document document)
- Specified by:
visitDocument in interface GedcomxModelVisitor
visitPlaceDescription
public void visitPlaceDescription(PlaceDescription place)
- Specified by:
visitPlaceDescription in interface GedcomxModelVisitor
visitEvent
public void visitEvent(Event event)
- Specified by:
visitEvent in interface GedcomxModelVisitor
visitEventRole
public void visitEventRole(EventRole role)
- Specified by:
visitEventRole in interface GedcomxModelVisitor
visitAgent
public void visitAgent(Agent agent)
- Specified by:
visitAgent in interface GedcomxModelVisitor
visitSourceDescription
public void visitSourceDescription(SourceDescription sourceDescription)
- Specified by:
visitSourceDescription in interface GedcomxModelVisitor
visitSourceCitation
public void visitSourceCitation(SourceCitation citation)
- Specified by:
visitSourceCitation in interface GedcomxModelVisitor
visitCollection
public void visitCollection(Collection collection)
- Specified by:
visitCollection in interface GedcomxModelVisitor
visitRecordDescriptor
public void visitRecordDescriptor(RecordDescriptor recordDescriptor)
- Specified by:
visitRecordDescriptor in interface GedcomxModelVisitor
visitField
public void visitField(Field field)
- Specified by:
visitField in interface GedcomxModelVisitor
visitFieldValue
public void visitFieldValue(FieldValue fieldValue)
- Specified by:
visitFieldValue in interface GedcomxModelVisitor
visitRelationship
public void visitRelationship(Relationship relationship)
- Specified by:
visitRelationship in interface GedcomxModelVisitor
visitConclusion
protected void visitConclusion(Conclusion conclusion)
visitSubject
protected void visitSubject(Subject subject)
visitPerson
public void visitPerson(Person person)
- Specified by:
visitPerson in interface GedcomxModelVisitor
visitFact
public void visitFact(Fact fact)
- Specified by:
visitFact in interface GedcomxModelVisitor
visitPlaceReference
public void visitPlaceReference(PlaceReference place)
- Specified by:
visitPlaceReference in interface GedcomxModelVisitor
visitDate
public void visitDate(Date date)
- Specified by:
visitDate in interface GedcomxModelVisitor
visitName
public void visitName(Name name)
- Specified by:
visitName in interface GedcomxModelVisitor
visitNameForm
public void visitNameForm(NameForm form)
- Specified by:
visitNameForm in interface GedcomxModelVisitor
visitNamePart
public void visitNamePart(NamePart part)
- Specified by:
visitNamePart in interface GedcomxModelVisitor
visitGender
public void visitGender(Gender gender)
- Specified by:
visitGender in interface GedcomxModelVisitor
visitSourceReference
public void visitSourceReference(SourceReference sourceReference)
- Specified by:
visitSourceReference in interface GedcomxModelVisitor
visitNote
public void visitNote(Note note)
- Specified by:
visitNote in interface GedcomxModelVisitor
visitEvidenceReference
public void visitEvidenceReference(EvidenceReference evidenceReference)
- Specified by:
visitEvidenceReference in interface GedcomxModelVisitor
getContextStack
public LinkedList<Object> getContextStack()
Copyright © 2015. All rights reserved.