org.netbeans.lib.collab
Class ConferenceEventHelper
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.netbeans.lib.collab.ConferenceEventHelper
- All Implemented Interfaces:
- org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler
- public class ConferenceEventHelper
- extends org.xml.sax.helpers.DefaultHandler
Helper class for recipients of a poll message. This class can be used to
parse the xml from the poll message and generate a poll response based on
user input.
- Since:
- version 0.1
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConferenceEventHelper
public ConferenceEventHelper(java.io.InputStream in)
throws java.lang.Exception
- Constructor used to parse a conference event
- Parameters:
in
- UTF-8 encoded input stream to the conference event
message content (XML document)
ConferenceEventHelper
public ConferenceEventHelper(java.lang.String str)
throws java.lang.Exception
- Constructor used to parse a conference event
- Parameters:
str
- conference event message content (XML document)
ConferenceEventHelper
public ConferenceEventHelper()
- Constructor used to generate conference event
addTuple
public void addTuple(ConferenceEventTuple tuple)
characters
public void characters(char[] ch,
int start,
int length)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
startDocument
public void startDocument()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
endElement
public void endElement(java.lang.String nsuri,
java.lang.String localName,
java.lang.String fqName)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
startElement
public void startElement(java.lang.String nsuri,
java.lang.String localName,
java.lang.String fqName,
org.xml.sax.Attributes attributes)
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
getTuples
public java.util.Collection getTuples()
toString
public java.lang.String toString()
getInputStream
public java.io.InputStream getInputStream()
throws java.lang.Exception
- Throws:
java.lang.Exception