|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.bibop.xml.xforge.ParameterValueImpl
Interface for a parameter value
Field Summary | |
protected java.io.ByteArrayInputStream |
cachedEvents
|
protected org.xml.sax.ContentHandler |
contentHandler
|
protected org.xml.sax.ext.LexicalHandler |
lexicalHandler
|
private ProcessingOptions |
po
|
private static java.lang.String |
TEXT_SERIALIZER_CLASS
|
private static java.lang.String |
XML_SERIALIZER_CLASS
|
Constructor Summary | |
ParameterValueImpl(java.io.ByteArrayInputStream saxEvents,
ProcessingOptions aPO)
|
Method Summary | |
java.lang.String |
getText()
Get a text serialized version of the parameter value |
java.lang.String |
getXML()
Get a xml serialized version of the parameter value |
protected java.lang.String |
serialize(java.lang.String serializerclass)
|
void |
setConsumer(XMLConsumer xmlConsumer)
Sets the xmlconsumer that will receive our SAX events |
void |
setContentHandler(org.xml.sax.ContentHandler cHandler)
Set the ContentHandler that will receive XML data. |
void |
setLexicalHandler(org.xml.sax.ext.LexicalHandler lHandler)
Set the LexicalHandler that will receive XML data. |
void |
toSax()
Creates the SAX events once processing has finished. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected org.xml.sax.ContentHandler contentHandler
protected org.xml.sax.ext.LexicalHandler lexicalHandler
protected java.io.ByteArrayInputStream cachedEvents
private ProcessingOptions po
private static final java.lang.String XML_SERIALIZER_CLASS
private static final java.lang.String TEXT_SERIALIZER_CLASS
Constructor Detail |
public ParameterValueImpl(java.io.ByteArrayInputStream saxEvents, ProcessingOptions aPO) throws XForgeException
Method Detail |
public void setConsumer(XMLConsumer xmlConsumer) throws org.xml.sax.SAXException
setConsumer
in interface XMLProducer
xmlConsumer
-
XForgeException
org.xml.sax.SAXException
public void setContentHandler(org.xml.sax.ContentHandler cHandler) throws org.xml.sax.SAXException
XMLProducer
ContentHandler
that will receive XML data.
setContentHandler
in interface XMLProducer
org.xml.sax.SAXException
public void setLexicalHandler(org.xml.sax.ext.LexicalHandler lHandler) throws org.xml.sax.SAXException
XMLProducer
LexicalHandler
that will receive XML data.
setLexicalHandler
in interface XMLProducer
org.xml.sax.SAXException
public void toSax() throws org.xml.sax.SAXException
XMLProducer
toSax
in interface XMLProducer
org.xml.sax.SAXException
public java.lang.String getText() throws org.xml.sax.SAXException
getText
in interface ParameterValue
SAXEXception
org.xml.sax.SAXException
public java.lang.String getXML() throws org.xml.sax.SAXException
getXML
in interface ParameterValue
SAXEXception
org.xml.sax.SAXException
protected java.lang.String serialize(java.lang.String serializerclass) throws org.xml.sax.SAXException
org.xml.sax.SAXException
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |