Class OutletWithoutMergepoints
- java.lang.Object
-
- org.apache.torque.generator.outlet.OutletImpl
-
- org.apache.torque.generator.outlet.java.OutletWithoutMergepoints
-
- All Implemented Interfaces:
Outlet
- Direct Known Subclasses:
NewlineOutlet
,OptionOutlet
,StringInputOutlet
,XmlOutlet
public abstract class OutletWithoutMergepoints extends OutletImpl
An outlet without mergepoints.
-
-
Constructor Summary
Constructors Constructor Description OutletWithoutMergepoints(QualifiedName name)
Constructs a OutletWithoutMergepoints with the given name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMergepointMapping(MergepointMapping mergepointMapping)
Adds an mergepoint mapping to the outlet.MergepointMapping
getMergepointMapping(String name)
Returns the mergepoint mapping for the given mergepoint name.-
Methods inherited from class org.apache.torque.generator.outlet.OutletImpl
afterExecute, beforeExecute, execute, getInputClass, getInputElementName, getMergepointMappings, getName, getVariable, mergepoint, setInputClass, setInputElementName, setMergepointMapping, setVariable, setVariable, toString
-
-
-
-
Constructor Detail
-
OutletWithoutMergepoints
public OutletWithoutMergepoints(QualifiedName name)
Constructs a OutletWithoutMergepoints with the given name.- Parameters:
name
- the name of this outlet, not null.- Throws:
NullPointerException
- if name is null.
-
-
Method Detail
-
addMergepointMapping
public final void addMergepointMapping(MergepointMapping mergepointMapping) throws ConfigurationException
Description copied from class:OutletImpl
Adds an mergepoint mapping to the outlet. No mergepoint mappings must exist with the given name.- Specified by:
addMergepointMapping
in interfaceOutlet
- Overrides:
addMergepointMapping
in classOutletImpl
- Parameters:
mergepointMapping
- the mergepointMapping to add, not null.- Throws:
ConfigurationException
- if an mergepointMapping for the given name already exists.
-
getMergepointMapping
public final MergepointMapping getMergepointMapping(String name)
Description copied from class:OutletImpl
Returns the mergepoint mapping for the given mergepoint name.- Specified by:
getMergepointMapping
in interfaceOutlet
- Overrides:
getMergepointMapping
in classOutletImpl
- Parameters:
name
- the name of the mergepoint mapping.- Returns:
- the mergepoint mapping for the given name, or null if no mergepoint mapping exists for this name.
-
-