|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
it.eng.spago.base.SourceBeanContentHandler
La classe SourceBeanContentHandler
implementa l'interfaccia
standard di un parser SAX. Questo parser ricostruisce un oggetto di tipo
SourceBean
da uno stream XML.
SourceBeanAttribute
,
SourceBean
Constructor Summary | |
SourceBeanContentHandler()
Costruisce ed inizializza il parser. |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
Gestisce il testo di un elemento XML. |
void |
endDocument()
Gestisce l'evento di fine stream XML. |
void |
endElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName)
Gestisce l'evento di fine elemento XML. |
SourceBean |
getSourceBean()
Ritorna il SourceBean costruito a partire dallo stream XML. |
void |
startDocument()
Gestisce l'evento di inizio stream XML. |
void |
startElement(java.lang.String namespaceURI,
java.lang.String localName,
java.lang.String rawName,
org.xml.sax.Attributes attributes)
Gestisce l'evento di inizio elemento XML. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SourceBeanContentHandler()
Method Detail |
public void startDocument() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void endDocument() throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void startElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String rawName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void endElement(java.lang.String namespaceURI, java.lang.String localName, java.lang.String rawName) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public SourceBean getSourceBean()
SourceBean
costruito a partire dallo stream XML.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |