} \r
if (!docTypes.contains(localName)) {\r
if (dataElements.size() == 0) {\r
- logger.info("Encountered unknown top level element [" + localName + "]");\r
+ logger.info("Encountered unknown top level element [" + localName + "]. Creating generic data object.");\r
currentElement.setType(localName);\r
} else {\r
dataElements.peek().addElement(localName, currentElement);\r
}\r
\r
public RecordResponse getRecord() {\r
- logger.info("Request to get record response.");\r
- logger.info("Has record response: [" + ((dataObjects.get("record")!=null) ? "true" : "false") + "]");\r
- logger.info("Its of type record: [" + ((dataObjects.get("record") instanceof RecordResponse) ? "true" : "false") +"]");\r
- logger.info("It has xml: [" + ((dataObjects.get("record").getXml()!=null) ? "true" : "false") + "]");\r
return ((RecordResponse) dataObjects.get("record"));\r
}\r
\r