KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > thaiopensource > validate > nrl > AllowAction


1 package com.thaiopensource.validate.nrl;
2
3 class AllowAction extends NoResultAction {
4   AllowAction(ModeUsage modeUsage) {
5     super(modeUsage);
6   }
7
8   void perform(SectionState state) {
9     state.addChildMode(getModeUsage(), null);
10     state.addAttributeValidationModeUsage(getModeUsage());
11   }
12
13   NoResultAction changeCurrentMode(Mode mode) {
14     return new AllowAction(getModeUsage().changeCurrentMode(mode));
15   }
16 }
17
Popular Tags