Package org.gedcomx.atom
Class Content
- java.lang.Object
-
- org.gedcomx.atom.Content
-
public final class Content extends Object
- Author:
- Ryan Heaton
-
-
Constructor Summary
Constructors Constructor Description Content()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(AtomModelVisitor visitor)Accept a visitor.GedcomxgetGedcomx()The genealogical data associated with this entry.StringgetType()The type of the content.voidsetGedcomx(Gedcomx gedcomx)The genealogical data associated with this entry.voidsetType(String type)The type of the content.
-
-
-
Method Detail
-
getType
public String getType()
The type of the content.- Returns:
- The type of the content.
-
setType
public void setType(String type)
The type of the content.- Parameters:
type- The type of the content.
-
getGedcomx
public Gedcomx getGedcomx()
The genealogical data associated with this entry.- Returns:
- The genealogical data associated with this entry.
-
setGedcomx
public void setGedcomx(Gedcomx gedcomx)
The genealogical data associated with this entry.- Parameters:
gedcomx- The genealogical data associated with this entry.
-
accept
public void accept(AtomModelVisitor visitor)
Accept a visitor.- Parameters:
visitor- The visitor to accept.
-
-