public void addProcessor ( String nodeName , NodeProcessor processor ) { if ( null == processor ) { throw new IllegalArgumentException ( "Processor should not be null." ) ; } if ( IS_EMPTY . test ( nodeName ) ) { throw new IllegalArgumentException ( "The node name should not be empty." ) ; } getActionPool ( ) . put ( nodeName , processor ) ; }
Add a specific processing that will be applied to nodes having the matching name .