public abstract class BaseLoadBalancerResponseHandler<T> extends BaseProfitBricksResponseHandler<T>
Modifier and Type | Field and Description |
---|---|
protected ServerListResponseHandler |
balancedServerResponseHandler |
protected LoadBalancer.Builder |
builder |
protected DataCenter.Builder |
dataCenterBuilder |
protected DateService |
dateService |
protected FirewallListResponseHandler |
firewallListResponseHandler |
protected boolean |
useBalancedServerParser |
protected boolean |
useFirewallParser |
Modifier | Constructor and Description |
---|---|
protected |
BaseLoadBalancerResponseHandler(DateService dateService,
ServerListResponseHandler balancedServerResponseHandler,
FirewallListResponseHandler firewallResponseHandler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
protected void |
setPropertyOnEndTag(String qName) |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
protected Date |
textToIso8601Date() |
clearTextBuffer, endElement, reset, textToBooleanValue, textToDoubleValue, textToFloatValue, textToIntValue, textToStringValue
getRequest, setContext
getResult
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected final ServerListResponseHandler balancedServerResponseHandler
protected final FirewallListResponseHandler firewallListResponseHandler
protected LoadBalancer.Builder builder
protected DataCenter.Builder dataCenterBuilder
protected final DateService dateService
protected boolean useBalancedServerParser
protected boolean useFirewallParser
protected BaseLoadBalancerResponseHandler(DateService dateService, ServerListResponseHandler balancedServerResponseHandler, FirewallListResponseHandler firewallResponseHandler)
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class BaseProfitBricksResponseHandler<T>
protected final Date textToIso8601Date()
protected void setPropertyOnEndTag(String qName)
setPropertyOnEndTag
in class BaseProfitBricksResponseHandler<T>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.