String className = getValueOfNodeByTagName(configXML, TAG_VONAME);
String typeArg = "";
String value = "";
NodeList listItem = configXML.getChildNodes();
NodeList tmpNodeList = null;
int length = listItem.getLength();
classCV[0] = Class.forName(className);
objectCV = classCV[0].newInstance();
Method method = null;
setType(objectCV, configXML, className);
for (int i = 0; i < length; i++)
{
tagName = listItem.item(i).getNodeName();
if (tagName.equals("#text") || !listItem.item(i).hasAttributes())
{
continue;
}
attr = listItem.item(i).getAttributes();
if (attr.getNamedItem("aatocv") != null)
{
tmpNodeList = getDocumentFromString(xml.toString()).getElementsByTagName(tagName);
if (tmpNodeList.getLength() != 0)
{
setAAtoCV(objectCV, attr, tmpNodeList, classCV, tagName);
}
continue;
}
if (attr.getNamedItem("xml") != null)
{
configForQBXML = getDocumentFromString(getDocumentFromString(attr.getNamedItem("xml").getNodeValue()).getElementsByTagName(attr.getNamedItem("tag").getNodeValue()).item(0).toString());
tmpNodeList = getDocumentFromString(xml.toString()).getElementsByTagName(tagName);
if (tmpNodeList.item(0) != null)
{
forward(objectCV, attr, tmpNodeList.item(0), classCV, className, configForQBXML);
}
continue;
}
value = getValueOfNodeByTagName(xml, tagName);