protected void updateNotifier ( Notifier value , String xmlTag , Counter counter , Element element ) { Element root = element ; Counter innerCount = new Counter ( counter . getDepth ( ) + 1 ) ; findAndReplaceSimpleElement ( innerCount , root , "type" , value . getType ( ) , "mail" ) ; findAndReplaceSimpleElement ( innerCount , root , "sendOnError" , ( value . isSendOnError ( ) == true ) ? null : String . valueOf ( value . isSendOnError ( ) ) , "true" ) ; findAndReplaceSimpleElement ( innerCount , root , "sendOnFailure" , ( value . isSendOnFailure ( ) == true ) ? null : String . valueOf ( value . isSendOnFailure ( ) ) , "true" ) ; findAndReplaceSimpleElement ( innerCount , root , "sendOnSuccess" , ( value . isSendOnSuccess ( ) == true ) ? null : String . valueOf ( value . isSendOnSuccess ( ) ) , "true" ) ; findAndReplaceSimpleElement ( innerCount , root , "sendOnWarning" , ( value . isSendOnWarning ( ) == true ) ? null : String . valueOf ( value . isSendOnWarning ( ) ) , "true" ) ; findAndReplaceSimpleElement ( innerCount , root , "address" , value . getAddress ( ) , null ) ; findAndReplaceProperties ( innerCount , root , "configuration" , value . getConfiguration ( ) ) ; }
Method updateNotifier .