sk.uniba.euromath.gene.exportgraph
Class NamespaceMapAcceptor
java.lang.Object
sk.uniba.euromath.gene.exportgraph.NamespaceMapAcceptor
- All Implemented Interfaces:
- INamespaceAcceptor
public final class NamespaceMapAcceptor
- extends Object
- implements INamespaceAcceptor
Accepts all namespaces defined in a map.
- Author:
- Martin Vysny
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamespaceMapAcceptor
public NamespaceMapAcceptor(Map<String,EnumSet<SourceEnum>> accepts)
- Constructor.
- Parameters:
accepts
- Only namespaces from this map are accepted.
getSource
public EnumSet<SourceEnum> getSource(String namespace)
- Description copied from interface:
INamespaceAcceptor
- Returns kind of source for this namespace.
- Specified by:
getSource
in interface INamespaceAcceptor
- Parameters:
namespace
- the namespace URI
- Returns:
- kinds of sources that this coordinator accepts as input for given
namespace.
null
if namespace is not accepted by the
acceptor.
Copyright 2003-2003-2006 null. All Rights Reserved.