public class OperationHandler extends ParseSax.HandlerForGeneratedRequestWithResult<Operation>
Modifier and Type | Field and Description |
---|---|
protected Operation.Builder |
builder |
protected StringBuilder |
currentText |
protected ErrorHandler |
errorHandler |
protected boolean |
inError |
Modifier | Constructor and Description |
---|---|
protected |
OperationHandler(ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
protected Operation.Builder |
builder() |
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String name,
String qName) |
Operation |
getResult() |
void |
startElement(String url,
String name,
String qName,
Attributes attributes) |
getRequest, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected final ErrorHandler errorHandler
protected StringBuilder currentText
protected Operation.Builder builder
protected boolean inError
@Inject protected OperationHandler(ErrorHandler errorHandler)
protected Operation.Builder builder()
public Operation getResult()
getResult
in class ParseSax.HandlerWithResult<Operation>
public void startElement(String url, String name, 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.