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.CopyStrategy
contextNode
- The original context node.public List<Relation> replaceRelation(Relation relation)
replaceRelation
in interface CopyUtil.CopyStrategy
relation
- The original relation.public LiteralNode replaceLiteralNode(LiteralNode literalNode)
replaceLiteralNode
in interface CopyUtil.CopyStrategy
literalNode
- The original literal node.Copyright © 2017. All rights reserved.