1 16 package org.apache.cocoon.taglib; 17 18 import java.io.IOException ; 19 import java.util.Map ; 20 21 import org.apache.avalon.framework.component.Component; 22 import org.apache.avalon.framework.parameters.Parameters; 23 import org.apache.cocoon.environment.SourceResolver; 24 25 import org.xml.sax.Attributes ; 26 import org.xml.sax.SAXException ; 27 28 38 public interface Tag extends Component { 39 40 String ROLE = Tag.class.getName(); 41 42 46 int EVAL_BODY = 0; 47 48 52 int SKIP_BODY = 1; 53 54 58 int EVAL_PAGE = 2; 59 60 66 int doEndTag(String namespaceURI, String localName, String qName) throws SAXException ; 67 68 78 int doStartTag(String namespaceURI, String localName, String qName, Attributes atts) throws SAXException ; 79 80 85 Tag getParent(); 86 87 91 void setup(SourceResolver resolver, Map objectModel, Parameters parameters) throws SAXException , IOException ; 92 93 99 void setParent(Tag parent); 100 } 101 | Popular Tags |