private static void parseUnrecognizedElement ( final Object instance , final Element element , final Properties props ) throws Exception { boolean recognized = false ; if ( instance instanceof UnrecognizedElementHandler ) { recognized = ( ( UnrecognizedElementHandler ) instance ) . parseUnrecognizedElement ( element , props ) ; } if ( ! recognized ) { LogLog . warn ( "Unrecognized element " + element . getNodeName ( ) ) ; } }
Delegates unrecognized content to created instance if it supports UnrecognizedElementParser .