|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler org.jclouds.http.functions.ParseSax.HandlerWithResult<T> org.jclouds.ovf.xml.SectionHandler<T,B>
public class SectionHandler<T extends Section<T>,B extends Section.Builder<T>>
Field Summary | |
---|---|
protected B |
builder
|
protected javax.inject.Provider<? extends Section.Builder<T>> |
builderProvider
|
protected StringBuilder |
currentText
|
Constructor Summary | |
---|---|
SectionHandler(javax.inject.Provider<B> builderProvider)
|
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
|
static SectionHandler |
create()
|
void |
endElement(String uri,
String localName,
String qName)
|
T |
getResult()
|
Methods inherited from class org.jclouds.http.functions.ParseSax.HandlerWithResult |
---|
getRequest, setContext |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected final javax.inject.Provider<? extends Section.Builder<T extends Section<T>>> builderProvider
protected StringBuilder currentText
protected B extends Section.Builder<T> builder
Constructor Detail |
---|
public SectionHandler(javax.inject.Provider<B> builderProvider)
Method Detail |
---|
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 org.xml.sax.helpers.DefaultHandler
public void characters(char[] ch, int start, int length)
characters
in interface ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |