org.jclouds.deltacloud.xml
Class InstanceStatesHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.jclouds.http.functions.ParseSax.HandlerWithResult<com.google.common.collect.Multimap<Instance.State,? extends Transition>>
          extended by org.jclouds.deltacloud.xml.InstanceStatesHandler
All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<com.google.common.collect.Multimap<Instance.State,? extends Transition>>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class InstanceStatesHandler
extends ParseSax.HandlerWithResult<com.google.common.collect.Multimap<Instance.State,? extends Transition>>

Author:
Adrian Cole

Field Summary
protected  Logger logger
           
 
Constructor Summary
InstanceStatesHandler()
           
 
Method Summary
 com.google.common.collect.Multimap<Instance.State,? extends Transition> getResult()
           
 void startElement(String uri, String localName, String qName, Attributes attrs)
           
 
Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerWithResult
getRequest, setContext
 
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

logger

protected Logger logger
Constructor Detail

InstanceStatesHandler

public InstanceStatesHandler()
Method Detail

getResult

public com.google.common.collect.Multimap<Instance.State,? extends Transition> getResult()
Specified by:
getResult in class ParseSax.HandlerWithResult<com.google.common.collect.Multimap<Instance.State,? extends Transition>>

startElement

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


Copyright © 2009-2011 jclouds. All Rights Reserved.