Top Description Methods
com.sun.tools.jxc.gen.config

public Interface NGCCEventSource

Known Direct Implementers
com.sun.tools.jxc.gen.config.NGCCInterleaveFilter, com.sun.tools.jxc.gen.config.NGCCRuntime
Imports
org.xml.sax.Attributes, .SAXException

Auto-generated, do not edit.

Author
Kohsuke Kawaguchi ([email protected])

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

Thread ID of the receiver that can handle this event, or -1 if none.
replace
(NGCCEventReceiver
old handler
_old
,
NGCCEventReceiver
new handler
_new
)

Replaces an old handler with a new handler, and returns ID of the EventReceiver thread.

public void
sendEnterAttribute(int receiverThreadId, String uri, String local, String qname)

public void
sendEnterElement(int
Thread ID of the receiver that can handle this event
receiverThreadId
,
String
element uri
uri
,
String
element local name
local
,
String
element qname
qname
,
Attributes
element attributes
atts
)

Sends an enter element event to the specified EventReceiver thread.

public void
sendLeaveAttribute(int receiverThreadId, String uri, String local, String qname)

public void
sendLeaveElement(int receiverThreadId, String uri, String local, String qname)

public void
sendText(int receiverThreadId, String value)

Method Detail

replaceback to summary
public int replace(NGCCEventReceiver _old, NGCCEventReceiver _new)

Replaces an old handler with a new handler, and returns ID of the EventReceiver thread.

Parameters
_old:NGCCEventReceiver

old handler

_new:NGCCEventReceiver

new handler

Returns:int

Thread ID of the receiver that can handle this event, or -1 if none.

sendEnterAttributeback to summary
public void sendEnterAttribute(int receiverThreadId, String uri, String local, String qname) throws SAXException
sendEnterElementback to summary
public void sendEnterElement(int receiverThreadId, String uri, String local, String qname, Attributes atts) throws SAXException

Sends an enter element event to the specified EventReceiver thread.

Parameters
receiverThreadId:int

Thread ID of the receiver that can handle this event

uri:String

element uri

local:String

element local name

qname:String

element qname

atts:Attributes

element attributes

Exceptions
SAXException:
for errors
sendLeaveAttributeback to summary
public void sendLeaveAttribute(int receiverThreadId, String uri, String local, String qname) throws SAXException
sendLeaveElementback to summary
public void sendLeaveElement(int receiverThreadId, String uri, String local, String qname) throws SAXException
sendTextback to summary
public void sendText(int receiverThreadId, String value) throws SAXException