wt.ixb.tuner
Class Tuner
java.lang.Object
wt.ixb.tuner.Tuner
- public class Tuner
- extends Object
Method Summary |
private IxbElement |
applyMappingRules(IxbElement oldElem,
String path,
String tag,
String value,
IxbDocument newDoc,
IxbDocument oldDoc,
boolean cDataSection)
|
private IxbDocument |
applyXSLRuleToXML(IxbDocument fileXml)
|
private void |
copyAttributes(IxbElement res,
IxbElement oldElem)
|
private String |
getNewTagFromMappingRule(IxbElement oldElem,
String path,
String tag,
String value,
IxbDocument newDoc,
IxbDocument oldDoc)
|
private static void |
PP(String s)
|
private void |
setTheValue(IxbElement parent,
IxbElement oldElem,
IxbElement newElem,
String stTag)
|
IxbDocument |
tuneXMLFile(IxbDocument oldXML)
|
private IxbElement |
tuneXMLFile(IxbElement oldElem,
String path,
String tag,
IxbDocument newDoc,
IxbDocument oldDoc)
|
private IxbDocument |
tuneXMLFileWithXSL(IxbDocument oldXML)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tunedFileNumber
public static int tunedFileNumber
S_IGNORE_MASTER
public static String S_IGNORE_MASTER
S_IGNORE
public static String S_IGNORE
XML_ROOT_SETTINGS
public static final String XML_ROOT_SETTINGS
- See Also:
- Constant Field Values
XML_TAG_NEW_INFO
public static final String XML_TAG_NEW_INFO
- See Also:
- Constant Field Values
EL_IGNORE_MASTER
private static IxbElement EL_IGNORE_MASTER
generalMappingRules
private IxbElement generalMappingRules
commandSource
private TunerCommandSource commandSource
stylesheet
private Stylesheet stylesheet
ruleFileIsXsl
private boolean ruleFileIsXsl
xslFileName
private String xslFileName
mustTune
private boolean mustTune
template
private Templates template
newDtdCache
private Hashtable newDtdCache
Tuner
public Tuner(IxbElement localRules,
IxbElement generalRules)
throws WTException
Tuner
public Tuner(String importOrExport,
IxbElement localRules)
throws WTException
Tuner
public Tuner(String importOrExport,
String ruleFileName)
throws WTException
tuneXMLFile
public IxbDocument tuneXMLFile(IxbDocument oldXML)
throws WTException
- Throws:
WTException
tuneXMLFile
private IxbElement tuneXMLFile(IxbElement oldElem,
String path,
String tag,
IxbDocument newDoc,
IxbDocument oldDoc)
throws WTException
- Throws:
WTException
copyAttributes
private void copyAttributes(IxbElement res,
IxbElement oldElem)
throws WTException
- Throws:
WTException
getNewTagFromMappingRule
private String getNewTagFromMappingRule(IxbElement oldElem,
String path,
String tag,
String value,
IxbDocument newDoc,
IxbDocument oldDoc)
throws WTException
- Throws:
WTException
applyMappingRules
private IxbElement applyMappingRules(IxbElement oldElem,
String path,
String tag,
String value,
IxbDocument newDoc,
IxbDocument oldDoc,
boolean cDataSection)
throws WTException
- Throws:
WTException
tuneXMLFileWithXSL
private IxbDocument tuneXMLFileWithXSL(IxbDocument oldXML)
throws WTException
- Throws:
WTException
applyXSLRuleToXML
private IxbDocument applyXSLRuleToXML(IxbDocument fileXml)
throws WTException
- Throws:
WTException
setTheValue
private void setTheValue(IxbElement parent,
IxbElement oldElem,
IxbElement newElem,
String stTag)
throws WTException
- Throws:
WTException
PP
private static void PP(String s)