Class BaseIpBlockResponseHandler<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.ipblock.BaseIpBlockResponseHandler<T>
- All Implemented Interfaces:
InvocationContext<ParseSax.HandlerWithResult<T>>
,ContentHandler
,DTDHandler
,EntityResolver
,ErrorHandler
- Direct Known Subclasses:
IpBlockListResponseHandler
,IpBlockResponseHandler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IpBlock.Builder
protected final PublicIpListResponseHandler
protected boolean
-
Method Summary
Modifier and TypeMethodDescriptionvoid
characters
(char[] ch, int start, int length) protected void
setPropertyOnEndTag
(String qName) void
startElement
(String uri, String localName, String qName, Attributes attributes) Methods inherited from class org.jclouds.profitbricks.http.parser.BaseProfitBricksResponseHandler
clearTextBuffer, endElement, reset, textToBooleanValue, textToDoubleValue, textToFloatValue, textToIntValue, 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, 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
-
Field Details
-
publicIpListResponseHandler
-
ips
-
builder
-
usePublicIpListParser
protected boolean usePublicIpListParser
-
-
Method Details
-
startElement
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException - Specified by:
startElement
in interfaceContentHandler
- Overrides:
startElement
in classDefaultHandler
- Throws:
SAXException
-
characters
public void characters(char[] ch, int start, int length) - Specified by:
characters
in interfaceContentHandler
- Overrides:
characters
in classBaseProfitBricksResponseHandler<T>
-
setPropertyOnEndTag
- Specified by:
setPropertyOnEndTag
in classBaseProfitBricksResponseHandler<T>
-