de.interactive_instruments.ShapeChange
Class TargetConfiguration
java.lang.Object
de.interactive_instruments.ShapeChange.ProcessConfiguration
de.interactive_instruments.ShapeChange.TargetConfiguration
- Direct Known Subclasses:
- TargetOwlConfiguration, TargetXmlSchemaConfiguration
public class TargetConfiguration
- extends ProcessConfiguration
- Author:
- Johannes Echterhoff (echterhoff interactive-instruments
de)
Methods inherited from class de.interactive_instruments.ShapeChange.ProcessConfiguration |
addTarget, addTransformer, getClassName, getGmlVersion, getListParameterValue, getMapEntries, getMapEntry, getParameters, getParameterValue, getParameterValues, getProcessMode, getRuleSets, getTargets, getTransformers, hasParameter, setTargets, setTransformers |
TargetConfiguration
public TargetConfiguration(String className,
ProcessMode processMode,
Map<String,String> parameters,
Map<String,ProcessRuleSet> ruleSets,
List<ProcessMapEntry> mapEntries,
Set<String> inputIds,
List<Namespace> namespaces)
- Creates a TargetConfiguration.
- Parameters:
className
- The fully qualified name of the class implementing the target.processMode
- The execution mode of the target.parameters
- The target parameters. null
if no parameters were
declared in the configuration.ruleSets
- The encoding rule sets declared for the target.
null
if no rule sets were declared in the
configuration.mapEntries
- The map entries for the target. null
if no map
entries were declared in the configuration.inputIds
- Set of identifiers referencing either the input model or a
transformer.namespaces
- List of namespaces for the target. null
if no
namespaces were declared in the configuration.
getInputIds
public Set<String> getInputIds()
toString
public String toString()
- Overrides:
toString
in class ProcessConfiguration
getNamespaces
public List<Namespace> getNamespaces()
- Returns:
- the namespaces, or
null
if none are defined in the
target configuration
nsabrForNamespace
public String nsabrForNamespace(String namespace)
fullNamespace
public String fullNamespace(String abbreviation)
locationOfNamespace
public String locationOfNamespace(String namespace)
- Parameters:
namespace
-
- Returns:
- the location defined for the namespace (in the configuration) -
or
null
if either the namespace or the location is
not defined in the configuration
Copyright © 2015. All rights reserved.