TableHandler
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 | 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, warning
addChildDeserializer, endElement, getDefaultType, getMechanismType, getValue, getValueTargets, moveValueTargets, onStartElement, registerValueTarget, removeValueTargets, setChildValue, setDefaultType, setValue, setValue, startElement
public 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.DeserializerImpl
org.xml.sax.SAXException
public 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.DeserializerImpl
org.xml.sax.SAXException
public void startTable(uk.ac.starlink.table.StarTable meta)
TableHandler
StarTable.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 TableHandler
meta
- metadata objectpublic void rowData(java.lang.Object[] row) throws org.xml.sax.SAXException
TableHandler
rowData
in interface TableHandler
row
- array of data objects representing a row in the
current tableorg.xml.sax.SAXException
public void endTable() throws org.xml.sax.SAXException
TableHandler
endTable
in interface TableHandler
org.xml.sax.SAXException
public java.lang.Object getValue()
getValue
in class org.apache.axis.encoding.DeserializerImpl
public boolean componentsReady()
componentsReady
in class org.apache.axis.encoding.DeserializerImpl
public void valueComplete() throws org.xml.sax.SAXException
valueComplete
in class org.apache.axis.encoding.DeserializerImpl
org.xml.sax.SAXException
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.