| java.lang.Object com.sun.xml.xsom.impl.parser.state.NGCCInterleaveFilter
NGCCInterleaveFilter | abstract public class NGCCInterleaveFilter implements NGCCEventSource,NGCCEventReceiver(Code) | | Dispatches incoming events into sub handlers appropriately
so that the interleaving semantics will be correctly realized.
author: Kohsuke Kawaguchi (kk@kohsuke.org) |
Method Summary | |
public void | enterAttribute(String uri, String localName, String qname) | public void | enterElement(String uri, String localName, String qname, Attributes atts) | abstract protected int | findReceiverOfAttribute(String uri, String local) Returns the handler that can receive the given attribute, or null. | abstract protected int | findReceiverOfElement(String uri, String local) Implemented by the generated code to determine the handler
that can receive the given element. | abstract protected int | findReceiverOfText() Returns the handler that can receive text events, or null. | public void | joinByEnterAttribute(NGCCEventReceiver source, String uri, String local, String qname) | public void | joinByEnterElement(NGCCEventReceiver source, String uri, String local, String qname, Attributes atts) Joins all the child receivers.
This method is called by a child receiver when it sees
something that it cannot handle, or by this object itself
when it sees an event that it can't process.
This method forces children to move to its final state,
then revert to the parent.
Parameters: source - If this method is called by one of the child receivers,the receiver object. | public void | joinByLeaveAttribute(NGCCEventReceiver source, String uri, String local, String qname) | public void | joinByLeaveElement(NGCCEventReceiver source, String uri, String local, String qname) | public void | joinByText(NGCCEventReceiver source, String value) | public void | leaveAttribute(String uri, String localName, String qname) | public void | leaveElement(String uri, String localName, String qname) | public int | replace(NGCCEventReceiver oldHandler, NGCCEventReceiver newHandler) | public void | sendEnterAttribute(int threadId, String uri, String local, String qname) | public void | sendEnterElement(int threadId, String uri, String local, String qname, Attributes atts) | public void | sendLeaveAttribute(int threadId, String uri, String local, String qname) | public void | sendLeaveElement(int threadId, String uri, String local, String qname) | public void | sendText(int threadId, String value) | protected void | setHandlers(NGCCEventReceiver[] receivers) | public void | text(String value) |
NGCCInterleaveFilter | protected NGCCInterleaveFilter(NGCCHandler parent, int cookie)(Code) | | |
findReceiverOfAttribute | abstract protected int findReceiverOfAttribute(String uri, String local)(Code) | | Returns the handler that can receive the given attribute, or null.
|
findReceiverOfElement | abstract protected int findReceiverOfElement(String uri, String local)(Code) | | Implemented by the generated code to determine the handler
that can receive the given element.
Thread ID of the receiver that can handle this event,or -1 if none. |
findReceiverOfText | abstract protected int findReceiverOfText()(Code) | | Returns the handler that can receive text events, or null.
|
joinByEnterElement | public void joinByEnterElement(NGCCEventReceiver source, String uri, String local, String qname, Attributes atts) throws SAXException(Code) | | Joins all the child receivers.
This method is called by a child receiver when it sees
something that it cannot handle, or by this object itself
when it sees an event that it can't process.
This method forces children to move to its final state,
then revert to the parent.
Parameters: source - If this method is called by one of the child receivers,the receiver object. If this method is called by itself,null. |
|
|