public class SectionHandler<T extends Section<T>,B extends Section.Builder<T>> extends ParseSax.HandlerWithResult<T>
Modifier and Type | Field and Description |
---|---|
protected B |
builder |
protected Provider<? extends Section.Builder<T>> |
builderProvider |
protected StringBuilder |
currentText |
Constructor and Description |
---|
SectionHandler(Provider<B> builderProvider) |
Modifier and Type | Method and Description |
---|---|
void |
characters(char[] ch,
int start,
int length) |
static SectionHandler |
create() |
void |
endElement(String uri,
String localName,
String qName) |
T |
getResult() |
getRequest, setContext
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
protected final Provider<? extends Section.Builder<T extends Section<T>>> builderProvider
protected StringBuilder currentText
protected B extends Section.Builder<T> builder
public static SectionHandler create()
public T getResult()
getResult
in class ParseSax.HandlerWithResult<T extends Section<T>>
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.