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 javax.inject.Provider<? extends Section.Builder<T>> |
builderProvider |
protected StringBuilder |
currentText |
| Constructor and Description |
|---|
SectionHandler(javax.inject.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, setContextendDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningprotected final javax.inject.Provider<? extends Section.Builder<T extends Section<T>>> builderProvider
protected StringBuilder currentText
protected B extends Section.Builder<T> builder
public SectionHandler(javax.inject.Provider<B> builderProvider)
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 ContentHandlerendElement in class DefaultHandlerpublic void characters(char[] ch,
int start,
int length)
characters in interface ContentHandlercharacters in class DefaultHandlerCopyright © 2009-2021 The Apache Software Foundation. All Rights Reserved.