public class AxisTableSerializer
extends java.lang.Object
implements org.apache.axis.encoding.Serializer
Constructor and Description |
---|
AxisTableSerializer() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMechanismType() |
void |
serialize(javax.xml.namespace.QName name,
org.xml.sax.Attributes atts,
java.lang.Object value,
org.apache.axis.encoding.SerializationContext context)
Writes table out to the serialization context as a
binary-inline VOTable.
|
org.w3c.dom.Element |
writeSchema(java.lang.Class javaType,
org.apache.axis.wsdl.fromJava.Types types)
Returns an element containing the VOTable 1.1 schema.
|
public void serialize(javax.xml.namespace.QName name, org.xml.sax.Attributes atts, java.lang.Object value, org.apache.axis.encoding.SerializationContext context) throws java.io.IOException
name
- qnameatts
- attributevalue
- StarTable
objectcontext
- contextjava.lang.ClassCastException
- if table is not a StarTablejava.io.IOException
public org.w3c.dom.Element writeSchema(java.lang.Class javaType, org.apache.axis.wsdl.fromJava.Types types)
When this method is called by AXIS in the course of creating WSDL (using the service?wsdl URL) it results in a WRONG_DOCUMENT_ERR DOM exception. I can only imagine this is an AXIS bug, arising from AXIS not calling importNode on the returned Element.
public java.lang.String getMechanismType()
getMechanismType
in interface javax.xml.rpc.encoding.Serializer
Copyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.