|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.jabber.jabberbeans.sax.SubHandler | +--org.jabber.jabberbeans.sax.PacketSubHandler | +--org.jabber.jabberbeans.sax.PresenceHandler
PresenceHandler, which is used to create presence packets
Field Summary |
Fields inherited from class org.jabber.jabberbeans.sax.PacketSubHandler |
builder, elementChars |
Constructor Summary | |
PresenceHandler()
Creates a new PresenceHandler instance. |
Method Summary | |
protected void |
packetEndElement(java.lang.String name)
handler for types not covered by the base PacketSubHandler |
protected boolean |
packetStartElement(java.lang.String name,
AttributeList attributes)
this method verifies that elements are handled by this handler, returning false if they aren't |
Methods inherited from class org.jabber.jabberbeans.sax.PacketSubHandler |
characters, handleEndElement, handleStartElement, packetStartHandler, receiveChildData, startHandler, stopHandler |
Methods inherited from class org.jabber.jabberbeans.sax.SubHandler |
endDocument, endElement, getHandlerFactory, getSubCount, graftParent, graftSubHandler, ignorableWhitespace, processingInstruction, setChildSubHandler, setDocumentLocator, setHandlerFactory, setParent, setParser, startDocument, startElement |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PresenceHandler()
PresenceHandler
instance.
Method Detail |
protected final boolean packetStartElement(java.lang.String name, AttributeList attributes)
packetStartElement
in class PacketSubHandler
boolean
value of false if the tag should be
referred to the extension factory. Basically a 'handled' bit.protected final void packetEndElement(java.lang.String name) throws SAXException
packetEndElement
in class PacketSubHandler
name
- string holding the element name
SAXException
- thrown on error
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |