public enum PhyloXMLMetadataTreatment extends java.lang.Enum<PhyloXMLMetadataTreatment>
ReadWriteParameterNames.KEY_PHYLOXML_METADATA_TREATMENT
.
It enumerates ways how metadata from hierarchical RDF-like structures is be written to a PhyloXML document.
This is necessary, since it is not possible to represent nested annotations in PhyloXML.ReadWriteParameterNames.KEY_PHYLOXML_METADATA_TREATMENT
,
PhyloXMLEventWriter
Enum Constant and Description |
---|
LEAVES_ONLY
Only the contents of metadata events without any nested events are written.
|
NONE
No content of metadata events is written.
|
SEQUENTIAL
The contents of all hierarchically structured metadata events are written to the file in a sequential order.
|
TOP_LEVEL_WITH_CHILDREN
Only the contents of metadata events on the top level of a hierarchical structure are written, if they
have further events nested under them.
|
TOP_LEVEL_WITHOUT_CHILDREN
Only the contents of metadata events on the top level of a hierarchical structure are written, if they
do not have further events nested under them.
|
Modifier and Type | Method and Description |
---|---|
static PhyloXMLMetadataTreatment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PhyloXMLMetadataTreatment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PhyloXMLMetadataTreatment SEQUENTIAL
public static final PhyloXMLMetadataTreatment TOP_LEVEL_WITH_CHILDREN
public static final PhyloXMLMetadataTreatment TOP_LEVEL_WITHOUT_CHILDREN
public static final PhyloXMLMetadataTreatment LEAVES_ONLY
public static final PhyloXMLMetadataTreatment NONE
public static PhyloXMLMetadataTreatment[] values()
for (PhyloXMLMetadataTreatment c : PhyloXMLMetadataTreatment.values()) System.out.println(c);
public static PhyloXMLMetadataTreatment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null