public class CatalogHandler extends ParseSax.HandlerWithResult<Catalog>
Modifier and Type | Field and Description |
---|---|
protected TaskHandler |
taskHandler |
protected List<Task> |
tasks |
Constructor and Description |
---|
CatalogHandler(TaskHandler taskHandler) |
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) |
Catalog |
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 TaskHandler taskHandler
@Inject public CatalogHandler(TaskHandler taskHandler)
public Catalog getResult()
getResult
in class ParseSax.HandlerWithResult<Catalog>
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 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
protected String currentOrNull()
Copyright © 2009-2012 jclouds. All Rights Reserved.