Class BaseFirewallResponseHandler<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.firewall.BaseFirewallResponseHandler<T>
 
 
 
 
 
 
- 
- All Implemented Interfaces:
 InvocationContext<ParseSax.HandlerWithResult<T>>,ContentHandler,DTDHandler,EntityResolver,ErrorHandler
- Direct Known Subclasses:
 FirewallListResponseHandler,FirewallResponseHandler
public abstract class BaseFirewallResponseHandler<T> extends BaseProfitBricksResponseHandler<T>
 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected Firewall.Builderbuilderprotected FirewallRuleListResponseHandlerfirewallRuleListResponseHandlerprotected booleanuseFirewallRuleParser 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedBaseFirewallResponseHandler(FirewallRuleListResponseHandler firewallRuleListResponseHandler) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcharacters(char[] ch, int start, int length)protected voidsetPropertyOnEndTag(String qName)voidstartElement(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 
 - 
 
 - 
 
- 
- 
Field Detail
- 
firewallRuleListResponseHandler
protected final FirewallRuleListResponseHandler firewallRuleListResponseHandler
 
- 
useFirewallRuleParser
protected boolean useFirewallRuleParser
 
- 
builder
protected Firewall.Builder builder
 
 - 
 
- 
Constructor Detail
- 
BaseFirewallResponseHandler
protected BaseFirewallResponseHandler(FirewallRuleListResponseHandler firewallRuleListResponseHandler)
 
 - 
 
- 
Method Detail
- 
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>
 
- 
setPropertyOnEndTag
protected void setPropertyOnEndTag(String qName)
- Specified by:
 setPropertyOnEndTagin classBaseProfitBricksResponseHandler<T>
 
 - 
 
 -