|
xmlBlaster 2.2.0 client API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xmlBlaster.util.qos.StatusQosQuickParseFactory
public class StatusQosQuickParseFactory
Parsing xml QoS (quality of service) of return status.
Here we parse it with normal string operations for better performance. This is 40 times faster than a SAX parse (6 microsec instead of 241 microsec on a 600 MHz AMD Linux).
For the xml representation see StatusQosSaxFactory.
StatusQosData,
StatusQosSaxFactory,
org.xmlBlaster.test.classtest.qos.StatusQosFactoryTest| Constructor Summary | |
|---|---|
StatusQosQuickParseFactory(Global glob)
Can be used as singleton. |
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
A human readable name of this factory |
StatusQosData |
readObject(java.lang.String xmlQos)
Parses the given xml Qos and returns a StatusQosData holding the data. |
java.lang.String |
writeObject(StatusQosData statusQosData,
java.lang.String extraOffset,
java.util.Properties props)
Dump state of this object into a XML ASCII string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatusQosQuickParseFactory(Global glob)
| Method Detail |
|---|
public StatusQosData readObject(java.lang.String xmlQos)
throws XmlBlasterException
readObject in interface I_StatusQosFactorythe - XML based ASCII string
XmlBlasterException
public final java.lang.String writeObject(StatusQosData statusQosData,
java.lang.String extraOffset,
java.util.Properties props)
writeObject in interface I_StatusQosFactoryextraOffset - indenting of tags for nice outputprops - Formatting hints (see Constants.TOXML_*)
public java.lang.String getName()
getName in interface I_StatusQosFactory
|
xmlBlaster 2.2.0 client API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||