public class AWSEC2SecurityGroupHandler extends 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 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 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() |
ParseSax.HandlerForGeneratedRequestWithResult<SecurityGroup> |
setContext(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 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 SecurityGroup.Builder<?> builder()
public ParseSax.HandlerForGeneratedRequestWithResult<SecurityGroup> setContext(HttpRequest request)
setContext in interface InvocationContext<ParseSax.HandlerWithResult<SecurityGroup>>setContext in class ParseSax.HandlerForGeneratedRequestWithResult<SecurityGroup>public SecurityGroup getResult()
getResult in class 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-2016 The Apache Software Foundation. All Rights Reserved.