1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
\r
5 <!-- Generated by javadoc (build 1.5.0_22) on Thu Apr 10 14:54:58 PDT 2014 -->
\r
6 <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
\r
11 <META NAME="keywords" CONTENT="org.openexi.schema.EXISchema class">
\r
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
\r
15 <SCRIPT type="text/javascript">
\r
16 function windowTitle()
\r
18 parent.document.title="EXISchema";
\r
26 <BODY BGCOLOR="white" onload="windowTitle();">
\r
29 <!-- ========= START OF TOP NAVBAR ======= -->
\r
30 <A NAME="navbar_top"><!-- --></A>
\r
31 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
\r
32 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
34 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
35 <A NAME="navbar_top_firstrow"><!-- --></A>
\r
36 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
37 <TR ALIGN="center" VALIGN="top">
\r
38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
39 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
40 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
48 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
54 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
55 <A HREF="../../../org/openexi/schema/EmptySchema.html" title="class in org.openexi.schema"><B>PREV CLASS</B></A>
\r
56 NEXT CLASS</FONT></TD>
\r
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
58 <A HREF="../../../index.html?org/openexi/schema/EXISchema.html" target="_top"><B>FRAMES</B></A>
\r
59 <A HREF="EXISchema.html" target="_top"><B>NO FRAMES</B></A>
\r
60 <SCRIPT type="text/javascript">
\r
63 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
68 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
75 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
76 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
78 DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
81 <A NAME="skip-navbar_top"></A>
\r
82 <!-- ========= END OF TOP NAVBAR ========= -->
\r
85 <!-- ======== START OF CLASS DATA ======== -->
\r
88 org.openexi.schema</FONT>
\r
90 Class EXISchema</H2>
\r
93 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.openexi.schema.EXISchema</B>
\r
97 <DT><PRE>public final class <B>EXISchema</B><DT>extends java.lang.Object</DL>
\r
101 EXISchema provides methods to read and write compiled EXI schemas.
\r
106 <!-- yWorks UML Doclet http://www.yworks.com/ b0ac8294d3f86ae0003f3a3a002ea3cf577df824efc6f2... -->
111 <!-- =========== FIELD SUMMARY =========== -->
\r
113 <A NAME="field_summary"><!-- --></A>
\r
114 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
115 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
116 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
117 <B>Field Summary</B></FONT></TH>
\r
119 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
120 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
121 <CODE> byte[]</CODE></FONT></TD>
\r
122 <TD><CODE><B><A HREF="../../../org/openexi/schema/EXISchema.html#ancestryIds">ancestryIds</A></B></CODE>
\r
125 </TD>
\r
129 <!-- ========== METHOD SUMMARY =========== -->
\r
131 <A NAME="method_summary"><!-- --></A>
\r
132 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
133 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
134 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
\r
135 <B>Method Summary</B></FONT></TH>
\r
137 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
139 <CODE>static boolean</CODE></FONT></TD>
\r
140 <TD><CODE><B><A HREF="../../../org/openexi/schema/EXISchema.html#_isSimpleType(int, int[])">_isSimpleType</A></B>(int tp,
\r
141 int[] types)</CODE>
\r
144 </TD>
\r
146 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
147 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
148 <CODE> boolean</CODE></FONT></TD>
\r
149 <TD><CODE><B><A HREF="../../../org/openexi/schema/EXISchema.html#isSimpleType(int)">isSimpleType</A></B>(int tp)</CODE>
\r
152 </TD>
\r
154 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
155 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
156 <CODE>static <A HREF="../../../org/openexi/schema/EXISchema.html" title="class in org.openexi.schema">EXISchema</A></CODE></FONT></TD>
\r
157 <TD><CODE><B><A HREF="../../../org/openexi/schema/EXISchema.html#readIn(java.io.DataInputStream)">readIn</A></B>(java.io.DataInputStream in)</CODE>
\r
160 Reads an EXI Schema from a DataInputStream.</TD>
\r
162 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
163 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
164 <CODE> void</CODE></FONT></TD>
\r
165 <TD><CODE><B><A HREF="../../../org/openexi/schema/EXISchema.html#writeOut(java.io.DataOutputStream)">writeOut</A></B>(java.io.DataOutputStream out)</CODE>
\r
168 Writes out a serialized EXISchema.</TD>
\r
170 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
171 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
\r
172 <CODE> void</CODE></FONT></TD>
\r
173 <TD><CODE><B><A HREF="../../../org/openexi/schema/EXISchema.html#writeXml(java.io.OutputStream, boolean)">writeXml</A></B>(java.io.OutputStream out,
\r
174 boolean whole)</CODE>
\r
177 </TD>
\r
180 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
\r
181 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
182 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
\r
183 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
\r
185 <TR BGCOLOR="white" CLASS="TableRowColor">
\r
186 <TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
\r
192 <!-- ============ FIELD DETAIL =========== -->
\r
194 <A NAME="field_detail"><!-- --></A>
\r
195 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
196 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
197 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
198 <B>Field Detail</B></FONT></TH>
\r
202 <A NAME="ancestryIds"><!-- --></A><H3>
\r
205 public transient byte[] <B>ancestryIds</B></PRE>
\r
211 <!-- ============ METHOD DETAIL ========== -->
\r
213 <A NAME="method_detail"><!-- --></A>
\r
214 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
\r
215 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
\r
216 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
\r
217 <B>Method Detail</B></FONT></TH>
\r
221 <A NAME="isSimpleType(int)"><!-- --></A><H3>
\r
224 public boolean <B>isSimpleType</B>(int tp)</PRE>
\r
232 <A NAME="_isSimpleType(int, int[])"><!-- --></A><H3>
\r
235 public static boolean <B>_isSimpleType</B>(int tp,
\r
236 int[] types)</PRE>
\r
244 <A NAME="readIn(java.io.DataInputStream)"><!-- --></A><H3>
\r
247 public static <A HREF="../../../org/openexi/schema/EXISchema.html" title="class in org.openexi.schema">EXISchema</A> <B>readIn</B>(java.io.DataInputStream in)
\r
248 throws java.io.IOException,
\r
249 java.lang.ClassNotFoundException</PRE>
\r
251 <DD>Reads an EXI Schema from a DataInputStream.
\r
254 <DT><B>Parameters:</B><DD><CODE>in</CODE> - DataInputStream containing a serialized EXISchema
\r
255 <DT><B>Returns:</B><DD><A HREF="../../../org/openexi/schema/EXISchema.html" title="class in org.openexi.schema"><CODE>EXISchema</CODE></A>
\r
257 <DD><CODE>IOException,</CODE> - ClassNotFoundException
\r
258 <DD><CODE>java.io.IOException</CODE>
\r
259 <DD><CODE>java.lang.ClassNotFoundException</CODE></DL>
\r
264 <A NAME="writeOut(java.io.DataOutputStream)"><!-- --></A><H3>
\r
267 public void <B>writeOut</B>(java.io.DataOutputStream out)
\r
268 throws java.io.IOException</PRE>
\r
270 <DD>Writes out a serialized EXISchema.
\r
273 <DT><B>Parameters:</B><DD><CODE>out</CODE> - DataOutputStream to receive the serialized EXISchema
\r
275 <DD><CODE>java.io.IOException</CODE></DL>
\r
280 <A NAME="writeXml(java.io.OutputStream, boolean)"><!-- --></A><H3>
\r
283 public void <B>writeXml</B>(java.io.OutputStream out,
\r
284 boolean whole)
\r
285 throws java.io.IOException</PRE>
\r
290 <DD><CODE>java.io.IOException</CODE></DL>
\r
293 <!-- ========= END OF CLASS DATA ========= -->
\r
297 <!-- ======= START OF BOTTOM NAVBAR ====== -->
\r
298 <A NAME="navbar_bottom"><!-- --></A>
\r
299 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
\r
300 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
\r
302 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
\r
303 <A NAME="navbar_bottom_firstrow"><!-- --></A>
\r
304 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
\r
305 <TR ALIGN="center" VALIGN="top">
\r
306 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
\r
307 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
\r
308 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
\r
309 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
\r
310 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
\r
311 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
\r
312 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
\r
316 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
\r
322 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
323 <A HREF="../../../org/openexi/schema/EmptySchema.html" title="class in org.openexi.schema"><B>PREV CLASS</B></A>
\r
324 NEXT CLASS</FONT></TD>
\r
325 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
\r
326 <A HREF="../../../index.html?org/openexi/schema/EXISchema.html" target="_top"><B>FRAMES</B></A>
\r
327 <A HREF="EXISchema.html" target="_top"><B>NO FRAMES</B></A>
\r
328 <SCRIPT type="text/javascript">
\r
331 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
\r
336 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
\r
343 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
344 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
\r
345 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
\r
346 DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
\r
349 <A NAME="skip-navbar_bottom"></A>
\r
350 <!-- ======== END OF BOTTOM NAVBAR ======= -->
\r