org.jclouds.vcloud.xml
Class ErrorHandler

java.lang.Object
  extended by org.xml.sax.helpers.DefaultHandler
      extended by org.jclouds.http.functions.ParseSax.HandlerWithResult<VCloudError>
          extended by org.jclouds.vcloud.xml.ErrorHandler
All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<VCloudError>>, ContentHandler, DTDHandler, EntityResolver, ErrorHandler

public class ErrorHandler
extends ParseSax.HandlerWithResult<VCloudError>

Author:
Adrian Cole

Constructor Summary
ErrorHandler()
           
 
Method Summary
 VCloudError 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
 

Constructor Detail

ErrorHandler

public ErrorHandler()
Method Detail

getResult

public VCloudError getResult()
Specified by:
getResult in class ParseSax.HandlerWithResult<VCloudError>

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.