Package 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
-
-
Field Summary
Fields Modifier and Type Field Description protected LinkedList<Object>contextStack
-
Constructor Summary
Constructors Constructor Description GedcomxModelVisitorBase()
-
Method Summary
-
-
-
Field Detail
-
contextStack
protected final LinkedList<Object> contextStack
-
-
Method Detail
-
visitGedcomx
public void visitGedcomx(Gedcomx gx)
- Specified by:
visitGedcomxin interfaceGedcomxModelVisitor
-
visitDocument
public void visitDocument(Document document)
- Specified by:
visitDocumentin interfaceGedcomxModelVisitor
-
visitPlaceDescription
public void visitPlaceDescription(PlaceDescription place)
- Specified by:
visitPlaceDescriptionin interfaceGedcomxModelVisitor
-
visitEvent
public void visitEvent(Event event)
- Specified by:
visitEventin interfaceGedcomxModelVisitor
-
visitEventRole
public void visitEventRole(EventRole role)
- Specified by:
visitEventRolein interfaceGedcomxModelVisitor
-
visitAgent
public void visitAgent(Agent agent)
- Specified by:
visitAgentin interfaceGedcomxModelVisitor
-
visitSourceDescription
public void visitSourceDescription(SourceDescription sourceDescription)
- Specified by:
visitSourceDescriptionin interfaceGedcomxModelVisitor
-
visitSourceCitation
public void visitSourceCitation(SourceCitation citation)
- Specified by:
visitSourceCitationin interfaceGedcomxModelVisitor
-
visitCollection
public void visitCollection(Collection collection)
- Specified by:
visitCollectionin interfaceGedcomxModelVisitor
-
visitRecordDescriptor
public void visitRecordDescriptor(RecordDescriptor recordDescriptor)
- Specified by:
visitRecordDescriptorin interfaceGedcomxModelVisitor
-
visitField
public void visitField(Field field)
- Specified by:
visitFieldin interfaceGedcomxModelVisitor
-
visitFieldValue
public void visitFieldValue(FieldValue fieldValue)
- Specified by:
visitFieldValuein interfaceGedcomxModelVisitor
-
visitRelationship
public void visitRelationship(Relationship relationship)
- Specified by:
visitRelationshipin interfaceGedcomxModelVisitor
-
visitConclusion
protected void visitConclusion(Conclusion conclusion)
-
visitSubject
protected void visitSubject(Subject subject)
-
visitPerson
public void visitPerson(Person person)
- Specified by:
visitPersonin interfaceGedcomxModelVisitor
-
visitFact
public void visitFact(Fact fact)
- Specified by:
visitFactin interfaceGedcomxModelVisitor
-
visitPlaceReference
public void visitPlaceReference(PlaceReference place)
- Specified by:
visitPlaceReferencein interfaceGedcomxModelVisitor
-
visitDate
public void visitDate(Date date)
- Specified by:
visitDatein interfaceGedcomxModelVisitor
-
visitName
public void visitName(Name name)
- Specified by:
visitNamein interfaceGedcomxModelVisitor
-
visitNameForm
public void visitNameForm(NameForm form)
- Specified by:
visitNameFormin interfaceGedcomxModelVisitor
-
visitNamePart
public void visitNamePart(NamePart part)
- Specified by:
visitNamePartin interfaceGedcomxModelVisitor
-
visitGender
public void visitGender(Gender gender)
- Specified by:
visitGenderin interfaceGedcomxModelVisitor
-
visitSourceReference
public void visitSourceReference(SourceReference sourceReference)
- Specified by:
visitSourceReferencein interfaceGedcomxModelVisitor
-
visitNote
public void visitNote(Note note)
- Specified by:
visitNotein interfaceGedcomxModelVisitor
-
visitEvidenceReference
public void visitEvidenceReference(EvidenceReference evidenceReference)
- Specified by:
visitEvidenceReferencein interfaceGedcomxModelVisitor
-
getContextStack
public LinkedList<Object> getContextStack()
-
-