
public static class CopyUtil.ReplaceRegexLiteralStringCopyStrategy extends CopyUtil.AbstractCopyStrategy implements CopyUtil.CopyStrategy
| Modifier | Constructor and Description |
|---|---|
protected |
ReplaceRegexLiteralStringCopyStrategy() |
|
ReplaceRegexLiteralStringCopyStrategy(Map<String,String> replacements) |
|
ReplaceRegexLiteralStringCopyStrategy(String regex,
String replacement) |
| Modifier and Type | Method and Description |
|---|---|
LiteralNode |
replaceLiteralNode(LiteralNode literalNode)
Strategies can replace a literal that is being copied.
|
replaceContextNode, replaceRelationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitreplaceContextNode, replaceRelationpublic ReplaceRegexLiteralStringCopyStrategy(Map<String,String> replacements)
public ReplaceRegexLiteralStringCopyStrategy(String regex, String replacement)
protected ReplaceRegexLiteralStringCopyStrategy()
public LiteralNode replaceLiteralNode(LiteralNode literalNode)
CopyUtil.AbstractCopyStrategyreplaceLiteralNode in interface CopyUtil.CopyStrategyreplaceLiteralNode in class CopyUtil.AbstractCopyStrategyliteralNode - The original literal node.Copyright © 2017. All rights reserved.