1 22 package org.jboss.xb.binding.sunday.unmarshalling; 23 24 import javax.xml.namespace.QName ; 25 import javax.xml.namespace.NamespaceContext ; 26 import org.xml.sax.Attributes ; 27 28 32 public interface ElementInterceptor 33 { 34 Object startElement(Object parent, QName elementName, TypeBinding type); 35 36 void attributes(Object o, QName elementName, TypeBinding type, Attributes attrs, NamespaceContext nsCtx); 37 38 void characters(Object o, QName elementName, TypeBinding type, NamespaceContext nsCtx, String text); 39 40 Object endElement(Object o, QName elementName, TypeBinding type); 41 42 void add(Object o, Object child, QName qName); 43 } 44 | Popular Tags |