java.io.Serializable, javax.xml.rpc.encoding.Deserializer, org.apache.axis.encoding.Callback, org.apache.axis.encoding.Deserializer, org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, TableHandlerpublic class AxisTableDeserializer extends org.apache.axis.encoding.DeserializerImpl implements TableHandler
The implementation of this class is tailored to various ill-documented idiosyncracies of AXIS's deserialization machinery. Tinker at your peril.
| Constructor | Description |
|---|---|
AxisTableDeserializer(uk.ac.starlink.table.StoragePolicy storagePolicy) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
componentsReady() |
|
void |
endTable() |
Called when there are no more rows to be transmitted.
|
java.lang.Object |
getValue() |
|
void |
onEndElement(java.lang.String namespace,
java.lang.String localName,
org.apache.axis.encoding.DeserializationContext context) |
|
org.apache.axis.message.SOAPHandler |
onStartChild(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes atts,
org.apache.axis.encoding.DeserializationContext context) |
|
void |
rowData(java.lang.Object[] row) |
Called when a row has been read.
|
void |
startTable(uk.ac.starlink.table.StarTable meta) |
Called when a table is about to be transmitted.
|
void |
valueComplete() |
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningaddChildDeserializer, endElement, getDefaultType, getMechanismType, getValue, getValueTargets, moveValueTargets, onStartElement, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElementpublic AxisTableDeserializer(uk.ac.starlink.table.StoragePolicy storagePolicy)
storagePolicy - policy for storing streamed table datapublic org.apache.axis.message.SOAPHandler onStartChild(java.lang.String namespace,
java.lang.String localName,
java.lang.String prefix,
org.xml.sax.Attributes atts,
org.apache.axis.encoding.DeserializationContext context)
throws org.xml.sax.SAXException
onStartChild in interface org.apache.axis.encoding.DeserializeronStartChild in class org.apache.axis.encoding.DeserializerImplorg.xml.sax.SAXExceptionpublic void onEndElement(java.lang.String namespace,
java.lang.String localName,
org.apache.axis.encoding.DeserializationContext context)
throws org.xml.sax.SAXException
onEndElement in interface org.apache.axis.encoding.DeserializeronEndElement in class org.apache.axis.encoding.DeserializerImplorg.xml.sax.SAXExceptionpublic void startTable(uk.ac.starlink.table.StarTable meta)
TableHandlerStarTable.getRowCount()); if it is not known, the row count
should be -1. However, this object should not attempt to read
any of meta's cell data.
The data to be transmitted in subsequent calls of acceptRow must match the metadata transmitted in this call in the same way that rows of a StarTable must match its own metadata (number and content clases of columns etc).
startTable in interface TableHandlermeta - metadata objectpublic void rowData(java.lang.Object[] row)
throws org.xml.sax.SAXException
TableHandlerrowData in interface TableHandlerrow - array of data objects representing a row in the
current tableorg.xml.sax.SAXExceptionpublic void endTable()
throws org.xml.sax.SAXException
TableHandlerendTable in interface TableHandlerorg.xml.sax.SAXExceptionpublic java.lang.Object getValue()
getValue in interface org.apache.axis.encoding.DeserializergetValue in class org.apache.axis.encoding.DeserializerImplpublic boolean componentsReady()
componentsReady in interface org.apache.axis.encoding.DeserializercomponentsReady in class org.apache.axis.encoding.DeserializerImplpublic void valueComplete()
throws org.xml.sax.SAXException
valueComplete in interface org.apache.axis.encoding.DeserializervalueComplete in class org.apache.axis.encoding.DeserializerImplorg.xml.sax.SAXExceptionCopyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.