org.eclipse.mylar.internal.tasks.core
Class SaxRepositoriesContentHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.eclipse.mylar.internal.tasks.core.SaxRepositoriesContentHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler

public class SaxRepositoriesContentHandler
extends org.xml.sax.helpers.DefaultHandler

Adapted from SaxContextContentHandler

Author:
Rob Elves

Field Summary
(package private) static java.lang.String ATTRIBUTE_INTERACTION_EVENT
           
private  java.util.Set<TaskRepository> taskRepositories
           
 
Constructor Summary
SaxRepositoriesContentHandler()
           
 
Method Summary
 java.util.Set<TaskRepository> getRepositories()
           
 void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes)
           
 
Methods inherited from class org.xml.sax.helpers.DefaultHandler
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ATTRIBUTE_INTERACTION_EVENT

static final java.lang.String ATTRIBUTE_INTERACTION_EVENT
See Also:
Constant Field Values

taskRepositories

private java.util.Set<TaskRepository> taskRepositories
Constructor Detail

SaxRepositoriesContentHandler

public SaxRepositoriesContentHandler()
Method Detail

startElement

public void startElement(java.lang.String uri,
                         java.lang.String localName,
                         java.lang.String qName,
                         org.xml.sax.Attributes attributes)
                  throws org.xml.sax.SAXException
Specified by:
startElement in interface org.xml.sax.ContentHandler
Overrides:
startElement in class org.xml.sax.helpers.DefaultHandler
Throws:
org.xml.sax.SAXException

getRepositories

public java.util.Set<TaskRepository> getRepositories()