Exemplo n.º 1
0
 /**
  * @see
  *     org.seasar.framework.xml.sax.handler.TagHandler#end(org.seasar.framework.xml.sax.handler.TagHandlerContext,
  *     java.lang.String)
  */
 public void end(TagHandlerContext context, String body) {
   AspectDef aspectDef = (AspectDef) context.pop();
   if (!StringUtil.isEmpty(body)) {
     aspectDef.setExpression(body);
   }
   ComponentDef componentDef = (ComponentDef) context.peek();
   componentDef.addAspectDef(aspectDef);
 }
Exemplo n.º 2
0
 public void end(TagHandlerContext context, String body) {
   RendererElement renderer = (RendererElement) context.pop();
   RenderKitElement config = (RenderKitElement) context.peek();
   config.addRendererElement(renderer);
 }