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(StoragePolicy storagePolicy)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
componentsReady() |
void |
endTable()
Called when there are no more rows to be transmitted.
|
Object |
getValue() |
void |
onEndElement(String namespace,
String localName,
org.apache.axis.encoding.DeserializationContext context) |
org.apache.axis.message.SOAPHandler |
onStartChild(String namespace,
String localName,
String prefix,
Attributes atts,
org.apache.axis.encoding.DeserializationContext context) |
void |
rowData(Object[] row)
Called when a row has been read.
|
void |
startTable(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, startElement
characters, makeNewElement, onEndChild
endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
public AxisTableDeserializer(StoragePolicy storagePolicy)
storagePolicy
- policy for storing streamed table datapublic org.apache.axis.message.SOAPHandler onStartChild(String namespace, String localName, String prefix, Attributes atts, org.apache.axis.encoding.DeserializationContext context) throws SAXException
onStartChild
in class org.apache.axis.encoding.DeserializerImpl
SAXException
public void onEndElement(String namespace, String localName, org.apache.axis.encoding.DeserializationContext context) throws SAXException
onEndElement
in class org.apache.axis.encoding.DeserializerImpl
SAXException
public void startTable(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(Object[] row) throws SAXException
TableHandler
rowData
in interface TableHandler
row
- array of data objects representing a row in the
current tableSAXException
public void endTable() throws SAXException
TableHandler
endTable
in interface TableHandler
SAXException
public 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 SAXException
valueComplete
in class org.apache.axis.encoding.DeserializerImpl
SAXException
Copyright © 2023 Central Laboratory of the Research Councils. All Rights Reserved.