wt.ixb.tuner
Class TunerCommand
java.lang.Object
wt.ixb.tuner.TunerCommand
- public class TunerCommand
- extends Object
Method Summary |
private String |
apply_change_tag_to_cmd(String path,
String tag,
String value,
IxbElement oldElem)
|
private String |
apply_copy_as_cmd(String path,
String tag,
String value,
IxbElement oldElem)
|
private String |
apply_copy_cmd(String path,
String tag,
String value,
IxbElement doc)
|
private String |
apply_ignore_cmd(String path,
String tag,
String value,
IxbElement oldElem)
|
private String |
apply_ignore_master_cmd(String path,
String tag,
String value,
IxbElement oldElem)
|
private String |
apply_method_cmd(String path,
String tag,
String value,
IxbElement oldElem)
|
(package private) String |
apply(IxbElement oldElem,
String path,
String tag,
String value,
IxbElement doc)
|
private boolean |
cmdIsApplicableForParam(String path,
String tag,
String value)
|
private static String |
computeXpathValue(String xpath,
IxbElement el)
|
private static String |
convertStringByPattern(String oldValue,
String patternOldValue,
String patternNewValue)
|
(package private) static TunerCommand |
getDefaultCommand()
|
private static void |
PP(String s)
|
private String |
prepareCopyAsValue(String path,
String tag,
String value,
IxbElement oldElem)
|
private void |
prepareTagAndPath(IxbElement el)
|
private static boolean |
stringMatchPatern(String _s,
String _pattern)
|
private static String |
substitute(String tag,
IxbDocument doc)
|
String |
toString()
|
private static String |
updateWithXpathExpression(String s,
IxbElement el)
|
MAPPING_RULES_TAG
public static final String MAPPING_RULES_TAG
- See Also:
- Constant Field Values
PROPERTIES_TAG
public static final String PROPERTIES_TAG
- See Also:
- Constant Field Values
COPY_CMD
private static final String COPY_CMD
- See Also:
- Constant Field Values
COPY_AS_CMD
private static final String COPY_AS_CMD
- See Also:
- Constant Field Values
CHANGE_TAG_CMD
static final String CHANGE_TAG_CMD
- See Also:
- Constant Field Values
METHOD_CMD
private static final String METHOD_CMD
- See Also:
- Constant Field Values
IGNORE_CMD
private static final String IGNORE_CMD
- See Also:
- Constant Field Values
IGNORE_MASTER_CMD
private static final String IGNORE_MASTER_CMD
- See Also:
- Constant Field Values
ERROR_CMD
private static final String ERROR_CMD
- See Also:
- Constant Field Values
CMD_PARAM_PATH
private static final String CMD_PARAM_PATH
- See Also:
- Constant Field Values
CMD_PARAM_TAG
private static final String CMD_PARAM_TAG
- See Also:
- Constant Field Values
CMD_PARAM_NEW_TAG
private static final String CMD_PARAM_NEW_TAG
- See Also:
- Constant Field Values
CMD_PARAM_NEW_DTD
public static final String CMD_PARAM_NEW_DTD
- See Also:
- Constant Field Values
CMD_PARAM_OLD_VALUE
private static final String CMD_PARAM_OLD_VALUE
- See Also:
- Constant Field Values
CMD_PARAM_NEW_VALUE
private static final String CMD_PARAM_NEW_VALUE
- See Also:
- Constant Field Values
CMD_PARAM_METHOD_CLASS
private static final String CMD_PARAM_METHOD_CLASS
- See Also:
- Constant Field Values
ANY_PARAM
private static final String ANY_PARAM
- See Also:
- Constant Field Values
FORMAL_PARAM_SYMBOL
private static final char FORMAL_PARAM_SYMBOL
- See Also:
- Constant Field Values
XPATH_EXPR_BEGIN
private static final char XPATH_EXPR_BEGIN
- See Also:
- Constant Field Values
XPATH_EXPR_END
private static final char XPATH_EXPR_END
- See Also:
- Constant Field Values
m_command
String m_command
m_path
String m_path
m_tag
String m_tag
m_newTag
String m_newTag
m_newDtd
String m_newDtd
m_oldValue
String m_oldValue
m_newValue
String m_newValue
m_class
String m_class
TunerCommand
private TunerCommand()
throws WTException
TunerCommand
TunerCommand(IxbElement el)
throws WTException
prepareTagAndPath
private void prepareTagAndPath(IxbElement el)
throws WTException
- Throws:
WTException
apply
String apply(IxbElement oldElem,
String path,
String tag,
String value,
IxbElement doc)
throws WTException
- Throws:
WTException
apply_copy_cmd
private String apply_copy_cmd(String path,
String tag,
String value,
IxbElement doc)
throws WTException
- Throws:
WTException
apply_copy_as_cmd
private String apply_copy_as_cmd(String path,
String tag,
String value,
IxbElement oldElem)
throws WTException
- Throws:
WTException
apply_change_tag_to_cmd
private String apply_change_tag_to_cmd(String path,
String tag,
String value,
IxbElement oldElem)
throws WTException
- Throws:
WTException
apply_ignore_cmd
private String apply_ignore_cmd(String path,
String tag,
String value,
IxbElement oldElem)
throws WTException
- Throws:
WTException
apply_ignore_master_cmd
private String apply_ignore_master_cmd(String path,
String tag,
String value,
IxbElement oldElem)
throws WTException
- Throws:
WTException
apply_method_cmd
private String apply_method_cmd(String path,
String tag,
String value,
IxbElement oldElem)
throws WTException
- Throws:
WTException
cmdIsApplicableForParam
private boolean cmdIsApplicableForParam(String path,
String tag,
String value)
prepareCopyAsValue
private String prepareCopyAsValue(String path,
String tag,
String value,
IxbElement oldElem)
throws WTException
- Throws:
WTException
substitute
private static String substitute(String tag,
IxbDocument doc)
getDefaultCommand
static TunerCommand getDefaultCommand()
throws WTException
- Throws:
WTException
stringMatchPatern
private static boolean stringMatchPatern(String _s,
String _pattern)
convertStringByPattern
private static String convertStringByPattern(String oldValue,
String patternOldValue,
String patternNewValue)
throws WTException
- Throws:
WTException
updateWithXpathExpression
private static String updateWithXpathExpression(String s,
IxbElement el)
throws WTException
- Throws:
WTException
computeXpathValue
private static String computeXpathValue(String xpath,
IxbElement el)
throws WTException
- Throws:
WTException
toString
public String toString()
PP
private static void PP(String s)