org.jclouds.vcloud.terremark.xml
Class IpAddressesHandler
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<Set<IpAddress>>
org.jclouds.vcloud.terremark.xml.IpAddressesHandler
- All Implemented Interfaces:
- InvocationContext, ContentHandler, DTDHandler, EntityResolver, ErrorHandler
public class IpAddressesHandler
- extends ParseSax.HandlerWithResult<Set<IpAddress>>
- Author:
- Adrian Cole
| Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endDocument, 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 |
currentText
protected StringBuilder currentText
logger
protected Logger logger
IpAddressesHandler
public IpAddressesHandler()
getResult
public Set<IpAddress> getResult()
- Specified by:
getResult in class ParseSax.HandlerWithResult<Set<IpAddress>>
startElement
public void startElement(String uri,
String localName,
String qName,
Attributes attributes)
throws SAXException
- Specified by:
startElement in interface ContentHandler- Overrides:
startElement in class DefaultHandler
- Throws:
SAXException
endElement
public void endElement(String uri,
String localName,
String qName)
throws SAXException
- Specified by:
endElement in interface ContentHandler- Overrides:
endElement in class DefaultHandler
- Throws:
SAXException
characters
public void characters(char[] ch,
int start,
int length)
- Specified by:
characters in interface ContentHandler- Overrides:
characters in class DefaultHandler
currentOrNull
protected String currentOrNull()
Copyright © 2009-2010 jclouds. All Rights Reserved.