}
StringHook stringHook = null;
if(m_userhook != null)
stringHook = m_userhook;
else if (m_bundle != null)
stringHook = new ResourceBundleStringHook (m_bundle);
DecodeEngine decodeEngine = DecodeEngine.createDecodeEngine (this, m_varLookup, stringHook);
decodeEngine.setDocument (doc);
if (elm == null)
elm = doc.getDocumentElement ();
Object obj = decodeEngine.decodeElement (parentNS, parentTag, elm, parentObj);