Class BaseLoadBalancerResponseHandler<T>
java.lang.Object
org.xml.sax.helpers.DefaultHandler
org.jclouds.http.functions.ParseSax.HandlerWithResult<T>
org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<T>
org.jclouds.profitbricks.http.parser.BaseProfitBricksResponseHandler<T>
org.jclouds.profitbricks.http.parser.loadbalancer.BaseLoadBalancerResponseHandler<T>
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<T>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Direct Known Subclasses:
LoadBalancerListResponseHandler,LoadBalancerResponseHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ServerListResponseHandlerprotected LoadBalancer.Builderprotected DataCenter.Builderprotected final DateServiceprotected final FirewallListResponseHandlerprotected booleanprotected boolean -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseLoadBalancerResponseHandler(DateService dateService, ServerListResponseHandler balancedServerResponseHandler, FirewallListResponseHandler firewallResponseHandler) -
Method Summary
Modifier and TypeMethodDescriptionvoidcharacters(char[] ch, int start, int length) protected voidsetPropertyOnEndTag(String qName) voidstartElement(String uri, String localName, String qName, Attributes attributes) protected final DateMethods inherited from class org.jclouds.profitbricks.http.parser.BaseProfitBricksResponseHandler
clearTextBuffer, endElement, reset, textToBooleanValue, textToDoubleValue, textToFloatValue, textToIntValue, textToStringValueMethods inherited from class org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult
getRequest, setContextMethods inherited from class org.jclouds.http.functions.ParseSax.HandlerWithResult
getResultMethods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.xml.sax.ContentHandler
declaration
-
Field Details
-
balancedServerResponseHandler
-
firewallListResponseHandler
-
builder
-
dataCenterBuilder
-
dateService
-
useBalancedServerParser
protected boolean useBalancedServerParser -
useFirewallParser
protected boolean useFirewallParser
-
-
Constructor Details
-
BaseLoadBalancerResponseHandler
protected BaseLoadBalancerResponseHandler(DateService dateService, ServerListResponseHandler balancedServerResponseHandler, FirewallListResponseHandler firewallResponseHandler)
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElementin interfaceContentHandler- Overrides:
startElementin classDefaultHandler- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
charactersin interfaceContentHandler- Overrides:
charactersin classBaseProfitBricksResponseHandler<T>
-
textToIso8601Date
-
setPropertyOnEndTag
- Specified by:
setPropertyOnEndTagin classBaseProfitBricksResponseHandler<T>
-