public class DiskHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Disk>
Modifier and Type | Field and Description |
---|---|
protected AttachmentHandler |
attachmentHandler |
protected StringBuilder |
currentText |
protected boolean |
inAttachment |
Modifier | Constructor and Description |
---|---|
protected |
DiskHandler(AttachmentHandler attachmentHandler) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
Disk |
getResult() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attributes) |
getRequest, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected final AttachmentHandler attachmentHandler
protected StringBuilder currentText
protected boolean inAttachment
@Inject protected DiskHandler(AttachmentHandler attachmentHandler)
public Disk getResult()
getResult
in class ParseSax.HandlerWithResult<Disk>
public void startElement(String uri, String localName, String qName, Attributes attributes) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String name, String qName) throws SAXException
endElement
in interface ContentHandler
endElement
in class DefaultHandler
SAXException
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class DefaultHandler
Copyright © 2009-2013 jclouds. All Rights Reserved.