|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.gene.CoordinatorInfo
public class CoordinatorInfo
Holds information about the output document class.
| Field Summary | |
|---|---|
String |
desc
Returns description of the output class. |
String |
extension
Returns default file extension of the output class. |
String |
mime
Returns MIME name. |
String |
outputClassId
Returns the output document class identitifer. |
| Constructor Summary | |
|---|---|
CoordinatorInfo(String outputClassId,
String extension,
String desc,
String mime,
Map<String,EnumSet<SourceEnum>> namespaces)
The constructor. |
|
| Method Summary | |
|---|---|
boolean |
acceptsFiniteNamespaces()
If true then coordinator processes only namespaces from
the getNamespaces() function. |
Set<String> |
getNamespaces()
Set containing all namespaces that this coordinator processes. |
EnumSet<SourceEnum> |
getSource(String namespace)
Returns kind of source for this namespace. |
EnumSet<SourceEnum> |
getSourceNotNull(String namespace)
Returns kind of source for this namespace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final String outputClassId
public final String desc
public final String extension
public final String mime
| Constructor Detail |
|---|
public CoordinatorInfo(String outputClassId,
String extension,
String desc,
String mime,
Map<String,EnumSet<SourceEnum>> namespaces)
outputClassId - The output document class identitifer. It is
intended to be used with API functions.extension - default file extension of the output class.desc - the displayable description of the output class.mime - the MIME defined name of the document class.namespaces - a map of namespace URIs that this coordinator accepts.
For each namespace it must define a kind of source that is accepted for
this namespace.| Method Detail |
|---|
public final Set<String> getNamespaces()
public boolean acceptsFiniteNamespaces()
true then coordinator processes only namespaces from
the getNamespaces() function. If false then
coordinator processes namespaces from the getNamespaces()
function and more - whether the namespace is supported or not can be
queried using the getSource() function.
public EnumSet<SourceEnum> getSource(String namespace)
INamespaceAcceptor
getSource in interface INamespaceAcceptornamespace - the namespace URI
null if namespace is not accepted by the
acceptor.public final EnumSet<SourceEnum> getSourceNotNull(String namespace)
null.
namespace - the namespace URI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||