public class SecurityGroupHandler extends org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<SecurityGroup>
| Modifier and Type | Field and Description |
|---|---|
protected SecurityGroup.Builder<?> |
builder |
protected StringBuilder |
currentText |
protected com.google.common.base.Supplier<String> |
defaultRegion |
protected boolean |
inIpPermissions |
protected IpPermissionHandler |
ipPermissionHandler |
protected int |
itemDepth |
protected String |
region |
| Constructor and Description |
|---|
SecurityGroupHandler(IpPermissionHandler ipPermissionHandler,
com.google.common.base.Supplier<String> defaultRegion) |
| Modifier and Type | Method and Description |
|---|---|
protected SecurityGroup.Builder<?> |
builder() |
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
protected void |
endItem(String uri,
String name,
String qName) |
SecurityGroup |
getResult() |
org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<SecurityGroup> |
setContext(org.jclouds.http.HttpRequest request) |
void |
startElement(String url,
String name,
String qName,
Attributes attributes) |
getRequestendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected final IpPermissionHandler ipPermissionHandler
protected final com.google.common.base.Supplier<String> defaultRegion
protected StringBuilder currentText
protected SecurityGroup.Builder<?> builder
protected boolean inIpPermissions
protected int itemDepth
protected String region
@Inject public SecurityGroupHandler(IpPermissionHandler ipPermissionHandler, com.google.common.base.Supplier<String> defaultRegion)
protected SecurityGroup.Builder<?> builder()
public org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<SecurityGroup> setContext(org.jclouds.http.HttpRequest request)
setContext in interface org.jclouds.rest.InvocationContext<org.jclouds.http.functions.ParseSax.HandlerWithResult<SecurityGroup>>setContext in class org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<SecurityGroup>public SecurityGroup getResult()
getResult in class org.jclouds.http.functions.ParseSax.HandlerWithResult<SecurityGroup>public void startElement(String url, String name, String qName, Attributes attributes) throws SAXException
startElement in interface ContentHandlerstartElement in class DefaultHandlerSAXExceptionpublic void endElement(String uri, String name, String qName) throws SAXException
endElement in interface ContentHandlerendElement in class DefaultHandlerSAXExceptionprotected void endItem(String uri, String name, String qName) throws SAXException
SAXExceptionpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerCopyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.