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 Constructor Description BaseProfitBricksResponseHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
characters(char[] ch, int start, int length)
protected void
clearTextBuffer()
abstract void
endElement(String uri, String localName, String qName)
void
reset()
protected abstract void
setPropertyOnEndTag(String qName)
protected boolean
textToBooleanValue()
protected Double
textToDoubleValue()
protected Float
textToFloatValue()
protected int
textToIntValue()
protected String
textToStringValue()
-
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
-
-
-
-
Method Detail
-
characters
public void characters(char[] ch, int start, int length)
- Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classDefaultHandler
-
textToStringValue
protected String textToStringValue()
-
textToFloatValue
protected Float textToFloatValue()
-
textToDoubleValue
protected Double textToDoubleValue()
-
textToIntValue
protected int textToIntValue()
-
textToBooleanValue
protected boolean textToBooleanValue()
-
clearTextBuffer
protected void clearTextBuffer()
-
reset
public void reset()
-
endElement
public abstract void endElement(String uri, String localName, String qName) throws SAXException
- Specified by:
endElement
in interfaceContentHandler
- Overrides:
endElement
in classDefaultHandler
- Throws:
SAXException
-
setPropertyOnEndTag
protected abstract void setPropertyOnEndTag(String qName)
-
-