public class DataCentersHandler extends ParseSax.HandlerWithResult<Set<DataCenter>>
Modifier and Type | Field and Description |
---|---|
protected DataCenter.Builder |
builder |
protected StringBuilder |
currentText |
protected com.google.common.collect.ImmutableSet.Builder<DataCenter> |
dataCenters |
protected DataCenterHandler |
handler |
Constructor and Description |
---|
DataCentersHandler(DataCenterHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
Set<DataCenter> |
getResult() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
getRequest, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected StringBuilder currentText
protected com.google.common.collect.ImmutableSet.Builder<DataCenter> dataCenters
protected DataCenter.Builder builder
protected final DataCenterHandler handler
@Inject public DataCentersHandler(DataCenterHandler handler)
public Set<DataCenter> getResult()
getResult
in class ParseSax.HandlerWithResult<Set<DataCenter>>
public void startElement(String uri, String localName, String qName, Attributes attrs)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
public void endElement(String uri, String localName, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
Copyright © 2009-2012 jclouds. All Rights Reserved.