Class BaseProfitBricksResponseHandler<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>
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<T>>
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
BaseDataCenterResponseHandler
,BaseFirewallResponseHandler
,BaseFirewallRuleResponseHandler
,BaseImageResponseHandler
,BaseIpBlockResponseHandler
,BaseLoadBalancerResponseHandler
,BaseNicResponseHandler
,BasePublicIpResponseHandler
,BaseServerResponseHandler
,BaseSnapshotResponseHandler
,BaseStorageResponseHandler
,GetProvisioningStateResponseHandler
,LoadBalancerIdOnlyResponseHandler
,NicIdOnlyResponseHandler
,RequestIdOnlyResponseHandler
,ServerIdOnlyResponseHandler
,ServiceFaultResponseHandler
,StorageIdOnlyResponseHandler
public abstract class BaseProfitBricksResponseHandler<T>
extends ParseSax.HandlerForGeneratedRequestWithResult<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) protected void
abstract void
endElement
(String uri, String localName, String qName) void
reset()
protected abstract void
setPropertyOnEndTag
(String qName) protected boolean
protected Double
protected Float
protected int
protected String
Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult
getRequest, setContext
Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerWithResult
getResult
Methods inherited from class org.xml.sax.helpers.DefaultHandler
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.xml.sax.ContentHandler
declaration
-
Constructor Details
-
BaseProfitBricksResponseHandler
public BaseProfitBricksResponseHandler()
-
-
Method Details
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
textToStringValue
-
textToFloatValue
-
textToDoubleValue
-
textToIntValue
protected int textToIntValue() -
textToBooleanValue
protected boolean textToBooleanValue() -
clearTextBuffer
protected void clearTextBuffer() -
reset
public void reset() -
endElement
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
setPropertyOnEndTag
-