public class TaskHandler extends ParseSax.HandlerWithResult<Task>
Modifier and Type | Field and Description |
---|---|
protected DateService |
dateService |
protected Logger |
logger |
Constructor and Description |
---|
TaskHandler(DateService dateService) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
void |
endElement(String uri,
String localName,
String qName) |
Task |
getResult() |
void |
startElement(String uri,
String localName,
String qName,
Attributes attrs) |
getRequest, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning
protected final DateService dateService
protected Logger logger
@Inject public TaskHandler(DateService dateService)
public Task getResult()
getResult
in class ParseSax.HandlerWithResult<Task>
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException
startElement
in interface ContentHandler
startElement
in class DefaultHandler
SAXException
public void endElement(String uri, String localName, 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
Copyright © 2009-2012 jclouds. All Rights Reserved.