Domainpublic class Domain extends BaseElement
Fields Summary |
---|
private String | DEFAULT_APPLICATION_ROOT |
Constructors Summary |
---|
public Domain()Creates a new instance of Domain
//end CR 6426419
|
Methods Summary |
---|
protected java.util.List | getNonTransferList(org.w3c.dom.Element element)
java.util.Vector attrList = new java.util.Vector();
//start CR 6426419
//if(commonInfoModel.checkUpgradefrom8xpeto8xse() ||
if(commonInfoModel.checkUpgrade8xto9x() || commonInfoModel.checkUpgrade9xto9x()) {
String sourceApplRoot = (String)element.getAttribute("application-root");
commonInfoModel.setSourceApplicationRoot(sourceApplRoot);
if(!(sourceApplRoot.equals(DEFAULT_APPLICATION_ROOT))) {
logger.log(Level.INFO, "New Application Root is " + sourceApplRoot);
}
} else {
//7.x to 8.x scenario
attrList.add("application-root");
}
//start CR 6396940
//attrList.add("application-root");
//end CR 6396940
attrList.add("log-root");
return attrList;
| public void | transform(org.w3c.dom.Element element, org.w3c.dom.Element parentSource, org.w3c.dom.Element parentResult)element - Domain of source
parentSource - Domain of source
parentResult - domain of target
this.transferAttributes(element, parentResult, this.getNonTransferList(element));
super.transform(element, parentSource, parentResult);
|
|