T
- the generic type, e.g. TreeNode or DocumentNodepublic class NodeMapper<T> extends Object
TreeNode
,
DocumentNode
,
TextNode
Constructor and Description |
---|
NodeMapper()
Instantiate a new mapper.
|
public void putNode(String id, T node)
id
- the identifiernode
- the nodepublic void rmNode(String id)
id
- the identifierpublic T getNode(String id)
id
- the identifierCopyright © 2015 SEMS project @ University of Rostock. All rights reserved.