public class AWSEC2SecurityGroupHandler
extends org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<org.jclouds.ec2.domain.SecurityGroup>
| Modifier and Type | Field and Description |
|---|---|
protected org.jclouds.ec2.domain.SecurityGroup.Builder<?> |
builder |
protected StringBuilder |
currentText |
protected com.google.common.base.Supplier<String> |
defaultRegion |
protected boolean |
inIpPermissions |
protected AWSEC2IpPermissionHandler |
ipPermissionHandler |
protected int |
itemDepth |
protected String |
region |
| Constructor and Description |
|---|
AWSEC2SecurityGroupHandler(AWSEC2IpPermissionHandler ipPermissionHandler,
com.google.common.base.Supplier<String> defaultRegion) |
| Modifier and Type | Method and Description |
|---|---|
protected org.jclouds.ec2.domain.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) |
org.jclouds.ec2.domain.SecurityGroup |
getResult() |
org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<org.jclouds.ec2.domain.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 AWSEC2IpPermissionHandler ipPermissionHandler
protected final com.google.common.base.Supplier<String> defaultRegion
protected StringBuilder currentText
protected org.jclouds.ec2.domain.SecurityGroup.Builder<?> builder
protected boolean inIpPermissions
protected int itemDepth
protected String region
@Inject public AWSEC2SecurityGroupHandler(AWSEC2IpPermissionHandler ipPermissionHandler, com.google.common.base.Supplier<String> defaultRegion)
protected org.jclouds.ec2.domain.SecurityGroup.Builder<?> builder()
public org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<org.jclouds.ec2.domain.SecurityGroup> setContext(org.jclouds.http.HttpRequest request)
setContext in interface org.jclouds.rest.InvocationContext<org.jclouds.http.functions.ParseSax.HandlerWithResult<org.jclouds.ec2.domain.SecurityGroup>>setContext in class org.jclouds.http.functions.ParseSax.HandlerForGeneratedRequestWithResult<org.jclouds.ec2.domain.SecurityGroup>public org.jclouds.ec2.domain.SecurityGroup getResult()
getResult in class org.jclouds.http.functions.ParseSax.HandlerWithResult<org.jclouds.ec2.domain.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-2016 The Apache Software Foundation. All Rights Reserved.