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 DateService |
dateService |
protected Logger |
logger |
Constructor and Description |
---|
LaunchSpecificationHandler(DateService dateService,
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, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected Logger logger
protected final DateService dateService
protected final LaunchSpecification.Builder builder
protected final BlockDeviceMapping.Builder blockDeviceMappingBuilder
protected StringBuilder currentText
@Inject public LaunchSpecificationHandler(DateService dateService, LaunchSpecification.Builder builder, BlockDeviceMapping.Builder blockDeviceMappingBuilder)
protected String currentOrNull()
public void startElement(String uri, String name, String qName, Attributes attrs)
startElement
in interface ContentHandler
startElement
in class DefaultHandler
public void endElement(String uri, String name, String qName)
endElement
in interface ContentHandler
endElement
in class DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
public LaunchSpecification getResult()
getResult
in class ParseSax.HandlerWithResult<LaunchSpecification>
Copyright © 2009-2012 jclouds. All Rights Reserved.