Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.thaiopensource.validate.nrl;
 
 
 class AttachAction extends ResultAction {
   AttachAction(ModeUsage modeUsage) {
    super(modeUsage);
  }
  void perform(ContentHandler handlerSectionState state) {
    final ModeUsage modeUsage = getModeUsage();
    if (handler != null)
      state.addActiveHandler(handlermodeUsage);
    else
      state.addAttributeValidationModeUsage(modeUsage);
    state.addChildMode(modeUsagehandler);
  }
    return new AttachAction(getModeUsage().changeCurrentMode(mode));
  }
New to GrepCode? Check out our FAQ X