1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5
<!-- Generated by javadoc (build 1.4.2_08) on Sat Apr 22 18:57:19 PDT 2006 -->
7
Base64Serializer (Axis API)
10
<META NAME="keywords" CONTENT="org.apache.axis.encoding.ser.Base64Serializer class">
12
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
14
<SCRIPT type="text/javascript">
15
function windowTitle()
17
parent.document.title="Base64Serializer (Axis API)";
23
<BODY BGCOLOR="white" onload="windowTitle();">
26
<!-- ========= START OF TOP NAVBAR ======= -->
27
<A NAME="navbar_top"><!-- --></A>
28
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
29
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
31
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
32
<A NAME="navbar_top_firstrow"><!-- --></A>
33
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
34
<TR ALIGN="center" VALIGN="top">
35
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
36
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
37
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
38
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Base64Serializer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
39
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
40
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
41
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
42
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
46
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
53
<A HREF="../../../../../org/apache/axis/encoding/ser/Base64DeserializerFactory.html" title="class in org.apache.axis.encoding.ser"><B>PREV CLASS</B></A>
54
<A HREF="../../../../../org/apache/axis/encoding/ser/Base64SerializerFactory.html" title="class in org.apache.axis.encoding.ser"><B>NEXT CLASS</B></A></FONT></TD>
55
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
56
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
57
<A HREF="Base64Serializer.html" target="_top"><B>NO FRAMES</B></A>
58
<SCRIPT type="text/javascript">
61
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
72
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
73
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
74
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
75
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
78
<A NAME="skip-navbar_top"></A>
79
<!-- ========= END OF TOP NAVBAR ========= -->
82
<!-- ======== START OF CLASS DATA ======== -->
85
org.apache.axis.encoding.ser</FONT>
87
Class Base64Serializer</H2>
90
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by"><B>org.apache.axis.encoding.ser.Base64Serializer</B>
93
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, <A HREF="../../../../../javax/xml/rpc/encoding/Serializer.html" title="interface in javax.xml.rpc.encoding">Serializer</A>, <A HREF="../../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding">Serializer</A>, <A HREF="../../../../../org/apache/axis/encoding/SimpleValueSerializer.html" title="interface in org.apache.axis.encoding">SimpleValueSerializer</A></DD>
97
<DT>public class <B>Base64Serializer</B><DT>extends java.lang.Object<DT>implements <A HREF="../../../../../org/apache/axis/encoding/SimpleValueSerializer.html" title="interface in org.apache.axis.encoding">SimpleValueSerializer</A></DL>
100
Serializer for Base64
105
<DT><B>Author:</B></DT>
106
<DD>Sam Ruby <rubys@us.ibm.com>
107
Modified by @author Rich Scheuerle <scheu@us.ibm.com></DD>
108
<DT><B>See Also:</B><DD><a href="http://www.w3.org/TR/xmlschema-2/#base64Binary">XML Schema 3.2.16</a>,
109
<A HREF="../../../../../serialized-form.html#org.apache.axis.encoding.ser.Base64Serializer">Serialized Form</A></DL>
113
<!-- ======== NESTED CLASS SUMMARY ======== -->
116
<!-- =========== FIELD SUMMARY =========== -->
118
<A NAME="field_summary"><!-- --></A>
119
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
120
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
121
<TD COLSPAN=2><FONT SIZE="+2">
122
<B>Field Summary</B></FONT></TD>
124
<TR BGCOLOR="white" CLASS="TableRowColor">
125
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
126
<CODE> java.lang.Class</CODE></FONT></TD>
127
<TD><CODE><B><A HREF="../../../../../org/apache/axis/encoding/ser/Base64Serializer.html#javaType">javaType</A></B></CODE>
130
</TD>
132
<TR BGCOLOR="white" CLASS="TableRowColor">
133
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134
<CODE> <A HREF="../../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A></CODE></FONT></TD>
135
<TD><CODE><B><A HREF="../../../../../org/apache/axis/encoding/ser/Base64Serializer.html#xmlType">xmlType</A></B></CODE>
138
</TD>
142
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
144
<A NAME="constructor_summary"><!-- --></A>
145
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
146
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
147
<TD COLSPAN=2><FONT SIZE="+2">
148
<B>Constructor Summary</B></FONT></TD>
150
<TR BGCOLOR="white" CLASS="TableRowColor">
151
<TD><CODE><B><A HREF="../../../../../org/apache/axis/encoding/ser/Base64Serializer.html#Base64Serializer(java.lang.Class, javax.xml.namespace.QName)">Base64Serializer</A></B>(java.lang.Class javaType,
152
<A HREF="../../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType)</CODE>
155
</TD>
159
<!-- ========== METHOD SUMMARY =========== -->
161
<A NAME="method_summary"><!-- --></A>
162
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
163
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
164
<TD COLSPAN=2><FONT SIZE="+2">
165
<B>Method Summary</B></FONT></TD>
167
<TR BGCOLOR="white" CLASS="TableRowColor">
168
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
169
<CODE> java.lang.String</CODE></FONT></TD>
170
<TD><CODE><B><A HREF="../../../../../org/apache/axis/encoding/ser/Base64Serializer.html#getMechanismType()">getMechanismType</A></B>()</CODE>
173
Gets the type of the XML processing mechanism and representation used by this Serializer.</TD>
175
<TR BGCOLOR="white" CLASS="TableRowColor">
176
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
177
<CODE> java.lang.String</CODE></FONT></TD>
178
<TD><CODE><B><A HREF="../../../../../org/apache/axis/encoding/ser/Base64Serializer.html#getValueAsString(java.lang.Object, org.apache.axis.encoding.SerializationContext)">getValueAsString</A></B>(java.lang.Object value,
179
<A HREF="../../../../../org/apache/axis/encoding/SerializationContext.html" title="class in org.apache.axis.encoding">SerializationContext</A> context)</CODE>
182
Return an XML compatible representation of the value.</TD>
184
<TR BGCOLOR="white" CLASS="TableRowColor">
185
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
186
<CODE> void</CODE></FONT></TD>
187
<TD><CODE><B><A HREF="../../../../../org/apache/axis/encoding/ser/Base64Serializer.html#serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, org.apache.axis.encoding.SerializationContext)">serialize</A></B>(<A HREF="../../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> name,
188
org.xml.sax.Attributes attributes,
189
java.lang.Object value,
190
<A HREF="../../../../../org/apache/axis/encoding/SerializationContext.html" title="class in org.apache.axis.encoding">SerializationContext</A> context)</CODE>
193
Serialize a base64 quantity.</TD>
195
<TR BGCOLOR="white" CLASS="TableRowColor">
196
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197
<CODE> org.w3c.dom.Element</CODE></FONT></TD>
198
<TD><CODE><B><A HREF="../../../../../org/apache/axis/encoding/ser/Base64Serializer.html#writeSchema(java.lang.Class, org.apache.axis.wsdl.fromJava.Types)">writeSchema</A></B>(java.lang.Class javaType,
199
<A HREF="../../../../../org/apache/axis/wsdl/fromJava/Types.html" title="class in org.apache.axis.wsdl.fromJava">Types</A> types)</CODE>
202
Return XML schema for the specified type, suitable for insertion into
203
the <types> element of a WSDL document, or underneath an
204
<element> or <attribute> declaration.</TD>
207
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
208
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
209
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
210
<TD><B>Methods inherited from class java.lang.Object</B></TD>
212
<TR BGCOLOR="white" CLASS="TableRowColor">
213
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
219
<!-- ============ FIELD DETAIL =========== -->
221
<A NAME="field_detail"><!-- --></A>
222
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
223
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
224
<TD COLSPAN=1><FONT SIZE="+2">
225
<B>Field Detail</B></FONT></TD>
229
<A NAME="xmlType"><!-- --></A><H3>
232
public <A HREF="../../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> <B>xmlType</B></PRE>
239
<A NAME="javaType"><!-- --></A><H3>
242
public java.lang.Class <B>javaType</B></PRE>
248
<!-- ========= CONSTRUCTOR DETAIL ======== -->
250
<A NAME="constructor_detail"><!-- --></A>
251
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
252
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
253
<TD COLSPAN=1><FONT SIZE="+2">
254
<B>Constructor Detail</B></FONT></TD>
258
<A NAME="Base64Serializer(java.lang.Class, javax.xml.namespace.QName)"><!-- --></A><H3>
259
Base64Serializer</H3>
261
public <B>Base64Serializer</B>(java.lang.Class javaType,
262
<A HREF="../../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> xmlType)</PRE>
266
<!-- ============ METHOD DETAIL ========== -->
268
<A NAME="method_detail"><!-- --></A>
269
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
270
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
271
<TD COLSPAN=1><FONT SIZE="+2">
272
<B>Method Detail</B></FONT></TD>
276
<A NAME="serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, org.apache.axis.encoding.SerializationContext)"><!-- --></A><H3>
279
public void <B>serialize</B>(<A HREF="../../../../../javax/xml/namespace/QName.html" title="class in javax.xml.namespace">QName</A> name,
280
org.xml.sax.Attributes attributes,
281
java.lang.Object value,
282
<A HREF="../../../../../org/apache/axis/encoding/SerializationContext.html" title="class in org.apache.axis.encoding">SerializationContext</A> context)
283
throws java.io.IOException</PRE>
285
<DD>Serialize a base64 quantity.
288
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/axis/encoding/Serializer.html#serialize(javax.xml.namespace.QName, org.xml.sax.Attributes, java.lang.Object, org.apache.axis.encoding.SerializationContext)">serialize</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding">Serializer</A></CODE></DL>
291
<DT><B>Parameters:</B><DD><CODE>name</CODE> - is the element name<DD><CODE>attributes</CODE> - are the attributes...serialize is free to add more.<DD><CODE>value</CODE> - is the value<DD><CODE>context</CODE> - is the SerializationContext
293
<DD><CODE>java.io.IOException</CODE></DL>
298
<A NAME="getValueAsString(java.lang.Object, org.apache.axis.encoding.SerializationContext)"><!-- --></A><H3>
299
getValueAsString</H3>
301
public java.lang.String <B>getValueAsString</B>(java.lang.Object value,
302
<A HREF="../../../../../org/apache/axis/encoding/SerializationContext.html" title="class in org.apache.axis.encoding">SerializationContext</A> context)</PRE>
304
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/axis/encoding/SimpleValueSerializer.html" title="interface in org.apache.axis.encoding">SimpleValueSerializer</A></CODE></B></DD>
305
<DD>Return an XML compatible representation of the value.
308
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/axis/encoding/SimpleValueSerializer.html#getValueAsString(java.lang.Object, org.apache.axis.encoding.SerializationContext)">getValueAsString</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/axis/encoding/SimpleValueSerializer.html" title="interface in org.apache.axis.encoding">SimpleValueSerializer</A></CODE></DL>
311
<DT><B>Parameters:</B><DD><CODE>value</CODE> -
312
<DT><B>Returns:</B><DD></DL>
317
<A NAME="getMechanismType()"><!-- --></A><H3>
318
getMechanismType</H3>
320
public java.lang.String <B>getMechanismType</B>()</PRE>
322
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../javax/xml/rpc/encoding/Serializer.html" title="interface in javax.xml.rpc.encoding">Serializer</A></CODE></B></DD>
323
<DD>Gets the type of the XML processing mechanism and representation used by this Serializer.
326
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../javax/xml/rpc/encoding/Serializer.html#getMechanismType()">getMechanismType</A></CODE> in interface <CODE><A HREF="../../../../../javax/xml/rpc/encoding/Serializer.html" title="interface in javax.xml.rpc.encoding">Serializer</A></CODE></DL>
330
<DT><B>Returns:</B><DD>XML processing mechanism type</DL>
335
<A NAME="writeSchema(java.lang.Class, org.apache.axis.wsdl.fromJava.Types)"><!-- --></A><H3>
338
public org.w3c.dom.Element <B>writeSchema</B>(java.lang.Class javaType,
339
<A HREF="../../../../../org/apache/axis/wsdl/fromJava/Types.html" title="class in org.apache.axis.wsdl.fromJava">Types</A> types)
340
throws java.lang.Exception</PRE>
342
<DD>Return XML schema for the specified type, suitable for insertion into
343
the <types> element of a WSDL document, or underneath an
344
<element> or <attribute> declaration.
347
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/axis/encoding/Serializer.html#writeSchema(java.lang.Class, org.apache.axis.wsdl.fromJava.Types)">writeSchema</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/axis/encoding/Serializer.html" title="interface in org.apache.axis.encoding">Serializer</A></CODE></DL>
350
<DT><B>Parameters:</B><DD><CODE>javaType</CODE> - the Java Class we're writing out schema for<DD><CODE>types</CODE> - the Java2WSDL Types object which holds the context
351
for the WSDL being generated.
352
<DT><B>Returns:</B><DD>a type element containing a schema simpleType/complexType
354
<DD><CODE>java.lang.Exception</CODE><DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/axis/wsdl/fromJava/Types.html" title="class in org.apache.axis.wsdl.fromJava"><CODE>Types</CODE></A></DL>
357
<!-- ========= END OF CLASS DATA ========= -->
361
<!-- ======= START OF BOTTOM NAVBAR ====== -->
362
<A NAME="navbar_bottom"><!-- --></A>
363
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
364
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
366
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
367
<A NAME="navbar_bottom_firstrow"><!-- --></A>
368
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
369
<TR ALIGN="center" VALIGN="top">
370
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
371
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
372
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
373
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Base64Serializer.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
374
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
375
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
376
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
377
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
381
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
387
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
388
<A HREF="../../../../../org/apache/axis/encoding/ser/Base64DeserializerFactory.html" title="class in org.apache.axis.encoding.ser"><B>PREV CLASS</B></A>
389
<A HREF="../../../../../org/apache/axis/encoding/ser/Base64SerializerFactory.html" title="class in org.apache.axis.encoding.ser"><B>NEXT CLASS</B></A></FONT></TD>
390
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
391
<A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>
392
<A HREF="Base64Serializer.html" target="_top"><B>NO FRAMES</B></A>
393
<SCRIPT type="text/javascript">
396
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
401
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
407
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
408
SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
409
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
410
DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
413
<A NAME="skip-navbar_bottom"></A>
414
<!-- ======== END OF BOTTOM NAVBAR ======= -->
417
Copyright © 2005 Apache Web Services Project. All Rights Reserved.