public class SubtreeProcessingMode
extends java.lang.Object
Constructor and Description |
---|
SubtreeProcessingMode()
Initialises a SubtreeProcessingMode without params.
|
SubtreeProcessingMode(java.util.List<Subtree> subtrees)
Initialises a SubtreeProcessingMode for given parameters.
|
SubtreeProcessingMode(SubtreeMode defaultMode)
Initialises a SubtreeProcessingMode for given parameters.
|
SubtreeProcessingMode(SubtreeMode defaultMode,
java.util.List<Subtree> subtrees)
Initialises a SubtreeProcessingMode for given parameters.
|
Modifier and Type | Method and Description |
---|---|
void |
addSubtree(Subtree subtree)
Adds to the list of Subtrees.
|
SubtreeMode |
getDefaultMode()
Gets the Default Type value.
|
java.util.List<Subtree> |
getSubtrees()
Gets the list of Subtrees.
|
void |
setDefaultMode(SubtreeMode defaultType)
Sets the Default Type value.
|
void |
setSubtrees(java.util.List<Subtree> subtrees)
Sets the list of Subtrees.
|
public SubtreeProcessingMode()
public SubtreeProcessingMode(SubtreeMode defaultMode, java.util.List<Subtree> subtrees)
defaultMode
- Default type TEXT or DATA for the input files.subtrees
- A list of content subtree objects with/without specific types.public SubtreeProcessingMode(SubtreeMode defaultMode)
defaultMode
- Default type TEXT or DATA for the input files.public SubtreeProcessingMode(java.util.List<Subtree> subtrees)
subtrees
- A list of content subtree objects with/without specific types.public SubtreeMode getDefaultMode()
public void setDefaultMode(SubtreeMode defaultType)
defaultType
- Default type of content to be set for the input files.public java.util.List<Subtree> getSubtrees()
public void setSubtrees(java.util.List<Subtree> subtrees)
subtrees
- The List of Subtrees to be set.public void addSubtree(Subtree subtree)
subtree
- The Subtree to be added to the existing list.