
public abstract static class CopyUtil.AbstractCopyStrategy extends Object implements CopyUtil.CopyStrategy
| Constructor and Description |
|---|
AbstractCopyStrategy() |
| Modifier and Type | Method and Description |
|---|---|
List<ContextNode> |
replaceContextNode(ContextNode contextNode)
Strategies can replace a context node that is being copied.
|
LiteralNode |
replaceLiteralNode(LiteralNode literalNode)
Strategies can replace a literal that is being copied.
|
List<Relation> |
replaceRelation(Relation relation)
Strategies can replace a relation that is being copied.
|
public List<ContextNode> replaceContextNode(ContextNode contextNode)
replaceContextNode in interface CopyUtil.CopyStrategycontextNode - The original context node.public List<Relation> replaceRelation(Relation relation)
replaceRelation in interface CopyUtil.CopyStrategyrelation - The original relation.public LiteralNode replaceLiteralNode(LiteralNode literalNode)
replaceLiteralNode in interface CopyUtil.CopyStrategyliteralNode - The original literal node.Copyright © 2017. All rights reserved.