public 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 and Description |
|---|
AxisTableDeserializer(uk.ac.starlink.table.StoragePolicy storagePolicy)
Constructor.
|
| Modifier and Type | Method and 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() |
addChildDeserializer, endElement, getDefaultType, getMechanismType, getValue, getValueTargets, moveValueTargets, onStartElement, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElementcharacters, makeNewElement, onEndChildendDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warningpublic 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 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 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 class org.apache.axis.encoding.DeserializerImplpublic boolean componentsReady()
componentsReady in class org.apache.axis.encoding.DeserializerImplpublic void valueComplete()
throws org.xml.sax.SAXException
valueComplete in class org.apache.axis.encoding.DeserializerImplorg.xml.sax.SAXExceptionCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.