01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.common.function;
09:
10: //base classes
11:
12: //project specific classes
13: import org.jfolder.common.UnexpectedSystemException;
14: import org.jfolder.common.tagging.AppraiseConceptTagContext;
15: import org.jfolder.common.tagging.InitializeConceptTagContext;
16:
17: //other classes
18:
19: public class BaseCompoundWebPageTag extends BaseWebPageTag {
20:
21: public BaseCompoundWebPageTag() {
22: }
23:
24: public void initialize(InitializeConceptTagContext inIctc) {
25: throw new UnexpectedSystemException("Invalid state");
26: }
27:
28: public void appraise(AppraiseConceptTagContext inCtic) {
29: if (inCtic instanceof WebPageTagInstanceViewContext) {
30: } else {
31: throw new UnexpectedSystemException("Invalid state");
32: }
33: }
34: }
|