public class LaunchSpecificationHandler extends ParseSax.HandlerForGeneratedRequestWithResult<LaunchSpecification>
| Modifier and Type | Field and Description |
|---|---|
protected BlockDeviceMapping.Builder |
blockDeviceMappingBuilder |
protected LaunchSpecification.Builder |
builder |
protected StringBuilder |
currentText |
protected DateCodec |
dateCodec |
protected Logger |
logger |
| Constructor and Description |
|---|
LaunchSpecificationHandler(DateCodecFactory dateCodecFactory,
LaunchSpecification.Builder builder,
BlockDeviceMapping.Builder blockDeviceMappingBuilder) |
| Modifier and Type | Method and Description |
|---|---|
void |
characters(char[] ch,
int start,
int length) |
protected String |
currentOrNull() |
void |
endElement(String uri,
String name,
String qName) |
LaunchSpecification |
getResult() |
void |
startElement(String uri,
String name,
String qName,
Attributes attrs) |
getRequest, setContextendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warningprotected Logger logger
protected final DateCodec dateCodec
protected final LaunchSpecification.Builder builder
protected final BlockDeviceMapping.Builder blockDeviceMappingBuilder
protected StringBuilder currentText
@Inject public LaunchSpecificationHandler(DateCodecFactory dateCodecFactory, LaunchSpecification.Builder builder, BlockDeviceMapping.Builder blockDeviceMappingBuilder)
protected String currentOrNull()
public void startElement(String uri, String name, String qName, Attributes attrs)
startElement in interface ContentHandlerstartElement in class DefaultHandlerpublic void endElement(String uri, String name, String qName)
endElement in interface ContentHandlerendElement in class DefaultHandlerpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerpublic LaunchSpecification getResult()
getResult in class ParseSax.HandlerWithResult<LaunchSpecification>Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.