Package | Description |
---|---|
info.bioinfweb.jphyloio |
The main package of JPhyloIO.
|
info.bioinfweb.jphyloio.events |
Contains implementations of JPhyloIO events, triggered during event based parsing.
|
info.bioinfweb.jphyloio.events.type |
Contains classes used to indentify the type of an JPhyloIO event.
|
info.bioinfweb.jphyloio.formatinfo |
Contains
JPhyloIOFormatInfo and related classes that describe a format supported by JPhyloIO. |
info.bioinfweb.jphyloio.formats.nexml |
Contains classes for reading from and writing to streams/files in NeXML format.
|
info.bioinfweb.jphyloio.formats.nexml.elementreader |
Contains implementations of
XMLElementReader used by
NeXMLEventReader . |
info.bioinfweb.jphyloio.formats.nexus |
Contains classes for reading from and writing to streams/files in Nexus format.
|
info.bioinfweb.jphyloio.formats.nexus.commandreaders.sets |
Contains classes for reading Nexus commands in a
SETS block. |
info.bioinfweb.jphyloio.formats.nexus.commandreaders.trees |
Contains classes for reading Nexus commands in a
TREES block. |
info.bioinfweb.jphyloio.formats.nexus.receivers |
Contains implementations of
JPhyloIOEventReceiver used internally by
NexusEventReader . |
info.bioinfweb.jphyloio.push |
Contains classes that allow push-parsing.
|
info.bioinfweb.jphyloio.utils |
Contains general tool classes of JPhyloIO.
|
Modifier and Type | Method and Description |
---|---|
EventContentType |
ParentEventInformation.getDirectParentContentType() |
Modifier and Type | Method and Description |
---|---|
boolean |
ParentEventInformation.isParentSequence(EventContentType... types)
Checks whether the current parent events have the specified content type(s).
|
Modifier and Type | Method and Description |
---|---|
EventContentType |
SetElementEvent.getLinkedObjectType()
Returns the type of event that is linked to this set.
|
Modifier and Type | Method and Description |
---|---|
static ConcreteJPhyloIOEvent |
ConcreteJPhyloIOEvent.createEndEvent(EventContentType contentType)
Creates a new instance of this class with the topology type
EventTopologyType.END - |
Constructor and Description |
---|
ConcreteJPhyloIOEvent(EventContentType contentType,
EventTopologyType topologyType)
Creates a new instance of this class.
|
ContinuedEvent(EventContentType contentType,
boolean continuedInNextEvent)
Returns a new instance of this class with the topology type
EventTopologyType.SOLE . |
LabeledEvent(EventContentType contentType,
java.lang.String label) |
LabeledIDEvent(EventContentType contentType,
java.lang.String id,
java.lang.String label)
Creates a new instance of this class.
|
LinkedLabeledIDEvent(EventContentType contentType,
java.lang.String id,
java.lang.String label,
java.lang.String linkedID)
Creates a new instance of this class.
|
PartEndEvent(EventContentType contentType,
boolean terminated)
Creates a new instance of this class.
|
SetElementEvent(java.lang.String linkedID,
EventContentType linkedObjectType)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
EventContentType |
EventType.getContentType() |
static EventContentType |
EventContentType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EventContentType[] |
EventContentType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
EventType(EventContentType contentType,
EventTopologyType topologyType)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
MetadataModeling |
DefaultFormatInfo.getMetadataModeling(EventContentType parentContentType,
boolean forReading) |
MetadataModeling |
JPhyloIOFormatInfo.getMetadataModeling(EventContentType parentContentType,
boolean forReading)
Determines which kind of metadata the represented format allows to model nested under the specified data element
Readers will not produce metaevents under an unsupported type, while writers will accept but ignore metaevents under
this type.
|
boolean |
DefaultFormatInfo.isElementModeled(EventContentType contentType,
boolean forReading) |
boolean |
JPhyloIOFormatInfo.isElementModeled(EventContentType contentType,
boolean forReading)
Determines whether the represented format allows to model the specified data element (content type).
|
Constructor and Description |
---|
DefaultFormatInfo(SingleReaderWriterFactory factory,
java.lang.String formatID,
java.lang.String formatName,
java.util.Set<EventContentType> supportedReaderContentTypes,
java.util.Set<EventContentType> supportedWriterContentTypes,
java.util.Map<EventContentType,MetadataModeling> supportedReaderMetadataModeling,
java.util.Map<EventContentType,MetadataModeling> supportedWriterMetadataModeling,
java.util.Set<java.lang.String> supportedReaderParameters,
java.util.Set<java.lang.String> supportedWriterParameters,
ReadWriteParameterMap filterParameters,
java.lang.String filterDescription,
java.lang.String... filterExtensions)
Creates a new instance of this class.
|
DefaultFormatInfo(SingleReaderWriterFactory factory,
java.lang.String formatID,
java.lang.String formatName,
java.util.Set<EventContentType> supportedReaderContentTypes,
java.util.Set<EventContentType> supportedWriterContentTypes,
java.util.Map<EventContentType,MetadataModeling> supportedReaderMetadataModeling,
java.util.Map<EventContentType,MetadataModeling> supportedWriterMetadataModeling,
java.util.Set<java.lang.String> supportedReaderParameters,
java.util.Set<java.lang.String> supportedWriterParameters,
ReadWriteParameterMap filterParameters,
java.lang.String filterDescription,
java.lang.String... filterExtensions)
Creates a new instance of this class.
|
DefaultFormatInfo(SingleReaderWriterFactory factory,
java.lang.String formatID,
java.lang.String formatName,
java.util.Set<EventContentType> supportedReaderContentTypes,
java.util.Set<EventContentType> supportedWriterContentTypes,
java.util.Map<EventContentType,MetadataModeling> supportedReaderMetadataModeling,
java.util.Map<EventContentType,MetadataModeling> supportedWriterMetadataModeling,
java.util.Set<java.lang.String> supportedReaderParameters,
java.util.Set<java.lang.String> supportedWriterParameters,
ReadWriteParameterMap filterParameters,
java.lang.String filterDescription,
java.lang.String... filterExtensions)
Creates a new instance of this class.
|
DefaultFormatInfo(SingleReaderWriterFactory factory,
java.lang.String formatID,
java.lang.String formatName,
java.util.Set<EventContentType> supportedReaderContentTypes,
java.util.Set<EventContentType> supportedWriterContentTypes,
java.util.Map<EventContentType,MetadataModeling> supportedReaderMetadataModeling,
java.util.Map<EventContentType,MetadataModeling> supportedWriterMetadataModeling,
java.util.Set<java.lang.String> supportedReaderParameters,
java.util.Set<java.lang.String> supportedWriterParameters,
ReadWriteParameterMap filterParameters,
java.lang.String filterDescription,
java.lang.String... filterExtensions)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
java.util.EnumMap<EventContentType,java.lang.String> |
NeXMLReaderStreamDataProvider.getElementTypeToCurrentIDMap()
Returns a map that links the currently used ID to an
EventContentType . |
java.util.Stack<EventContentType> |
NeXMLReaderStreamDataProvider.getMetaType()
Returns a stack of
EventContentType that represents the currently encountered nested meta events. |
java.util.Map<java.lang.String,java.util.EnumMap<EventContentType,java.util.Set<java.lang.String>>> |
NeXMLWriterStreamDataProvider.getSetIDToSetElementsMap() |
Modifier and Type | Method and Description |
---|---|
protected abstract EventContentType |
AbstractIDLinkSetElementReader.determineObjectType(javax.xml.namespace.QName attributeName) |
EventContentType |
AbstractSetElementReader.getSetType() |
Constructor and Description |
---|
AbstractIDLinkSetElementReader(EventContentType setType,
EventContentType linkedIDType,
javax.xml.namespace.QName... linkedIDsAttributes)
Creates a new instance of this class.
|
AbstractSetElementReader(EventContentType setType,
EventContentType linkedIDType,
javax.xml.namespace.QName... linkedIDsAttributes) |
NeXMLSetEndElementReader(EventContentType setType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
NexusReaderStreamDataProvider.getElementList(EventContentType type,
java.lang.String listID) |
java.util.Map<java.lang.String,java.lang.String> |
NexusReaderStreamDataProvider.getNexusNameToIDMap(EventContentType type,
java.lang.String listID)
Returns a map object that translates between a Nexus name and the JPhyloIO ID of the according event.
|
protected void |
NexusEventWriter.writeLinkCommand(java.lang.String linkedID,
java.lang.String linkedBlockName,
EventContentType linkedContentType) |
void |
NexusWriterStreamDataProvider.writeLinkCommand(java.lang.String linkedID,
java.lang.String linkedBlockName,
EventContentType linkedContentType) |
Constructor and Description |
---|
AbstractNexusSetWriter(NexusWriterStreamDataProvider streamDataProvider,
java.lang.String commandName,
EventContentType linkedContentType,
java.util.Iterator<? extends ElementDataAdapter<? extends LabeledIDEvent>> dataSourceIterator,
AbstractNexusEventReceiver receiver) |
Constructor and Description |
---|
AbstractNexusSetReader(EventContentType setType,
java.lang.String commandName,
java.lang.String[] validBlocks,
NexusReaderStreamDataProvider nexusDocument) |
IDBasedSetsReader(EventContentType setType,
java.lang.String commandName,
java.lang.String linkedBlockTypeName,
EventContentType elementType,
NexusReaderStreamDataProvider streamDataProvider) |
Modifier and Type | Method and Description |
---|---|
protected EventContentType |
ENewickNetworkReader.getElementContentType() |
protected EventContentType |
TreeReader.getElementContentType() |
Constructor and Description |
---|
ReferenceOnlySetReceiver(NexusWriterStreamDataProvider streamDataProvider,
java.util.Set<EventContentType> allowedTypes) |
ReferenceOnlySetReceiver(NexusWriterStreamDataProvider streamDataProvider,
java.util.Set<EventContentType> allowedTypes,
java.util.Set<EventContentType> ignoredTypes) |
ReferenceOnlySetReceiver(NexusWriterStreamDataProvider streamDataProvider,
java.util.Set<EventContentType> allowedTypes,
java.util.Set<EventContentType> ignoredTypes) |
Modifier and Type | Method and Description |
---|---|
void |
EventForwarder.readUntil(JPhyloIOEventReader reader,
EventContentType type)
Consumes all available events from the specified listener and forwards them to the registered listeners
until an event of the specified type is reached.
|
Modifier and Type | Method and Description |
---|---|
void |
EventForwarder.readUntil(JPhyloIOEventReader reader,
java.util.Set<EventContentType> types)
Consumes all available events from the specified listener and forwards them to the registered listeners
until any event of one of the specified types is reached.
|
Modifier and Type | Method and Description |
---|---|
void |
LabelEditingReporter.addEdit(EventContentType contentType,
java.lang.String id,
java.lang.String label,
boolean edited)
Adds a new mapping from an element ID to the label used for it in the target document to this instance.
|
boolean |
LabelEditingReporter.anyLabelEdited(EventContentType contentType)
Determines whether any label of data elements of the specified content type was edited.
|
java.lang.String |
LabelEditingReporter.getEditedLabel(EventContentType contentType,
java.lang.String id)
Returns the (edited) label associated with the specified data element.
|
LabelEditingReporter.LabelStatus |
LabelEditingReporter.getLabelStatus(EventContentType contentType,
java.lang.String id)
Returns the status of the specified data element and its label.
|
boolean |
LabelEditingReporter.isLabelUsed(EventContentType contentType,
java.lang.String label)
Checks whether the specified label was already used for the specified content type.
|