rdonkin     2004/05/04 15:07:20

  Added:       targets/jaxme/apidocs/org/apache/ws/jaxme/xs/xml
                        XsSchemaHeader.html
               targets/jaxme/pm ino.html ino.pdf
  Log:
  Updated jaxme website
  
  Revision  Changes    Path
  1.1                  
ws-site/targets/jaxme/apidocs/org/apache/ws/jaxme/xs/xml/XsSchemaHeader.html
  
  Index: XsSchemaHeader.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
  <!--NewPage-->
  <HTML>
  <HEAD>
  <!-- Generated by javadoc (build 1.4.2_03) on Mon May 03 12:04:50 BST 2004 -->
  <TITLE>
  XsSchemaHeader
  </TITLE>
  
  <META NAME="keywords" CONTENT="org.apache.ws.jaxme.xs.xml.XsSchemaHeader interface">
  
  <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" 
TITLE="Style">
  
  <SCRIPT type="text/javascript">
  function windowTitle()
  {
      parent.document.title="XsSchemaHeader";
  }
  </SCRIPT>
  
  </HEAD>
  
  <BODY BGCOLOR="white" onload="windowTitle();">
  
  
  <!-- ========= START OF TOP NAVBAR ======= -->
  <A NAME="navbar_top"><!-- --></A>
  <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_top_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../../../overview-summary.html"><FONT 
CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT 
CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT 
CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT 
CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../../../deprecated-list.html"><FONT 
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../../../index-all.html"><FONT 
CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../../../help-doc.html"><FONT 
CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsRedefinable.html" 
title="interface in org.apache.ws.jaxme.xs.xml"><B>PREV CLASS</B></A>&nbsp;
  &nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTAll.html" 
title="interface in org.apache.ws.jaxme.xs.xml"><B>NEXT CLASS</B></A></FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="XsSchemaHeader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;<SCRIPT type="text/javascript">
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All 
Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
    <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  </NOSCRIPT>
  
  </FONT></TD>
  </TR>
  <TR>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
HREF="#method_summary">METHOD</A></FONT></TD>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
HREF="#method_detail">METHOD</A></FONT></TD>
  </TR>
  </TABLE>
  <A NAME="skip-navbar_top"></A>
  <!-- ========= END OF TOP NAVBAR ========= -->
  
  <HR>
  <!-- ======== START OF CLASS DATA ======== -->
  <H2>
  <FONT SIZE="-1">
  org.apache.ws.jaxme.xs.xml</FONT>
  <BR>
  Interface XsSchemaHeader</H2>
  <DL>
  <DT><B>All Known Subinterfaces:</B> <DD><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/jaxb/JAXBXsSchema.html" 
title="interface in org.apache.ws.jaxme.xs.jaxb">JAXBXsSchema</A>, <A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsESchema.html" title="interface in 
org.apache.ws.jaxme.xs.xml">XsESchema</A></DD>
  </DL>
  <DL>
  <DT><B>All Known Implementing Classes:</B> <DD><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/jaxb/impl/JAXBXsSchemaImpl.html" 
title="class in org.apache.ws.jaxme.xs.jaxb.impl">JAXBXsSchemaImpl</A>, <A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/impl/XsESchemaImpl.html" 
title="class in org.apache.ws.jaxme.xs.xml.impl">XsESchemaImpl</A></DD>
  </DL>
  <HR>
  <DL>
  <DT>public interface <B>XsSchemaHeader</B></DL>
  
  <P>
  <p>This interface contains the data contained in the schemas
   root element.</p>
  <P>
  
  <P>
  <HR>
  
  <P>
  <!-- ======== NESTED CLASS SUMMARY ======== -->
  
  
  <!-- =========== FIELD SUMMARY =========== -->
  
  
  <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  
  
  <!-- ========== METHOD SUMMARY =========== -->
  
  <A NAME="method_summary"><!-- --></A>
  <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=2><FONT SIZE="+2">
  <B>Method Summary</B></FONT></TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsFormChoice.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsFormChoice</A></CODE></FONT></TD>
  <TD><CODE><B><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsSchemaHeader.html#getAttributeFormDefault()">getAttributeFormDefault</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the "form" 
attributes default value for attributes.</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsBlockSet.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsBlockSet</A></CODE></FONT></TD>
  <TD><CODE><B><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsSchemaHeader.html#getBlockDefault()">getBlockDefault</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the "block" 
attributes default value.</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsFormChoice.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsFormChoice</A></CODE></FONT></TD>
  <TD><CODE><B><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsSchemaHeader.html#getElementFormDefault()">getElementFormDefault</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the "form" 
attributes default value for elements.</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;<A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsDerivationSet.html" title="class 
in org.apache.ws.jaxme.xs.xml">XsDerivationSet</A></CODE></FONT></TD>
  <TD><CODE><B><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsSchemaHeader.html#getFinalDefault()">getFinalDefault</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the "final" 
attributes default value.</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsID.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsID</A></CODE></FONT></TD>
  <TD><CODE><B><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsSchemaHeader.html#getId()">getId</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the schemas 
ID.</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsAnyURI.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsAnyURI</A></CODE></FONT></TD>
  <TD><CODE><B><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsSchemaHeader.html#getTargetNamespace()">getTargetNamespace</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the target 
namespace.</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;java.lang.String</CODE></FONT></TD>
  <TD><CODE><B><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsSchemaHeader.html#getTargetNamespacePrefix()">getTargetNamespacePrefix</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a prefix 
associated with the target namespace or null, if
   no such prefix is available.</TD>
  </TR>
  <TR BGCOLOR="white" CLASS="TableRowColor">
  <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
  <CODE>&nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsToken.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsToken</A></CODE></FONT></TD>
  <TD><CODE><B><A 
HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsSchemaHeader.html#getVersion()">getVersion</A></B>()</CODE>
  
  <BR>
  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the schema 
version.</TD>
  </TR>
  </TABLE>
  &nbsp;
  <P>
  
  <!-- ============ FIELD DETAIL =========== -->
  
  
  <!-- ========= CONSTRUCTOR DETAIL ======== -->
  
  
  <!-- ============ METHOD DETAIL ========== -->
  
  <A NAME="method_detail"><!-- --></A>
  <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
  <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
  <TD COLSPAN=1><FONT SIZE="+2">
  <B>Method Detail</B></FONT></TD>
  </TR>
  </TABLE>
  
  <A NAME="getAttributeFormDefault()"><!-- --></A><H3>
  getAttributeFormDefault</H3>
  <PRE>
  public <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsFormChoice.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsFormChoice</A> 
<B>getAttributeFormDefault</B>()</PRE>
  <DL>
  <DD><p>Returns the "form" attributes default value for attributes.</p>
  <P>
  <DD><DL>
  </DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="getBlockDefault()"><!-- --></A><H3>
  getBlockDefault</H3>
  <PRE>
  public <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsBlockSet.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsBlockSet</A> 
<B>getBlockDefault</B>()</PRE>
  <DL>
  <DD><p>Returns the "block" attributes default value.</p>
  <P>
  <DD><DL>
  </DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="getElementFormDefault()"><!-- --></A><H3>
  getElementFormDefault</H3>
  <PRE>
  public <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsFormChoice.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsFormChoice</A> 
<B>getElementFormDefault</B>()</PRE>
  <DL>
  <DD><p>Returns the "form" attributes default value for elements.</p>
  <P>
  <DD><DL>
  </DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="getFinalDefault()"><!-- --></A><H3>
  getFinalDefault</H3>
  <PRE>
  public <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsDerivationSet.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsDerivationSet</A> 
<B>getFinalDefault</B>()</PRE>
  <DL>
  <DD><p>Returns the "final" attributes default value.</p>
  <P>
  <DD><DL>
  </DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="getId()"><!-- --></A><H3>
  getId</H3>
  <PRE>
  public <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsID.html" title="class 
in org.apache.ws.jaxme.xs.xml">XsID</A> <B>getId</B>()</PRE>
  <DL>
  <DD><p>Returns the schemas ID.</p>
  <P>
  <DD><DL>
  </DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="getTargetNamespace()"><!-- --></A><H3>
  getTargetNamespace</H3>
  <PRE>
  public <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsAnyURI.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsAnyURI</A> 
<B>getTargetNamespace</B>()</PRE>
  <DL>
  <DD><p>Returns the target namespace.</p>
  <P>
  <DD><DL>
  </DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="getVersion()"><!-- --></A><H3>
  getVersion</H3>
  <PRE>
  public <A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsToken.html" 
title="class in org.apache.ws.jaxme.xs.xml">XsToken</A> <B>getVersion</B>()</PRE>
  <DL>
  <DD><p>Returns the schema version.</p>
  <P>
  <DD><DL>
  </DL>
  </DD>
  </DL>
  <HR>
  
  <A NAME="getTargetNamespacePrefix()"><!-- --></A><H3>
  getTargetNamespacePrefix</H3>
  <PRE>
  public java.lang.String <B>getTargetNamespacePrefix</B>()</PRE>
  <DL>
  <DD><p>Returns a prefix associated with the target namespace or null, if
   no such prefix is available.</p>
  <P>
  <DD><DL>
  </DL>
  </DD>
  </DL>
  <!-- ========= END OF CLASS DATA ========= -->
  <HR>
  
  
  <!-- ======= START OF BOTTOM NAVBAR ====== -->
  <A NAME="navbar_bottom"><!-- --></A>
  <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
  <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
  <TR>
  <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
  <A NAME="navbar_bottom_firstrow"><!-- --></A>
  <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
    <TR ALIGN="center" VALIGN="top">
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../../../overview-summary.html"><FONT 
CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT 
CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT 
CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT 
CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../../../deprecated-list.html"><FONT 
CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../../../index-all.html"><FONT 
CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
    <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A 
HREF="../../../../../../help-doc.html"><FONT 
CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
    </TR>
  </TABLE>
  </TD>
  <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
  </EM>
  </TD>
  </TR>
  
  <TR>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  &nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsRedefinable.html" 
title="interface in org.apache.ws.jaxme.xs.xml"><B>PREV CLASS</B></A>&nbsp;
  &nbsp;<A HREF="../../../../../../org/apache/ws/jaxme/xs/xml/XsTAll.html" 
title="interface in org.apache.ws.jaxme.xs.xml"><B>NEXT CLASS</B></A></FONT></TD>
  <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
    <A HREF="../../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;
  &nbsp;<A HREF="XsSchemaHeader.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
  &nbsp;<SCRIPT type="text/javascript">
    <!--
    if(window==top) {
      document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All 
Classes</B></A>');
    }
    //-->
  </SCRIPT>
  <NOSCRIPT>
    <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
  </NOSCRIPT>
  
  </FONT></TD>
  </TR>
  <TR>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
    SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
HREF="#method_summary">METHOD</A></FONT></TD>
  <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
  DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A 
HREF="#method_detail">METHOD</A></FONT></TD>
  </TR>
  </TABLE>
  <A NAME="skip-navbar_bottom"></A>
  <!-- ======== END OF BOTTOM NAVBAR ======= -->
  
  <HR>
  
  </BODY>
  </HTML>
  
  
  
  1.1                  ws-site/targets/jaxme/pm/ino.html
  
  Index: ino.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
  <html>
  <head>
  <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>Accessing a Tamino database</title>
  <link type="text/css" href="../skin/page.css" rel="stylesheet">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
  <!--================= start Navigation Path ==================-->
  <table summary="navigation path" width="100%" border="0" cellpadding="0" 
cellspacing="0">
  <tr>
  <td nowrap="nowrap" valign="middle" bgcolor="#CFDCED" height="20"><img height="1" 
width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><!--===== breadcrumb 
trail (javascript-generated) ====--><font size="2" face="Arial, Helvetica, 
Sans-serif"><script src="../skin/breadcrumbs.js" language="JavaScript" 
type="text/javascript"></script></font></td>
  </tr>
  <tr>
  <td bgcolor="#4C6C8F" height="2"><img height="2" width="2" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  </table>
  <!--================= end Navigation Path ==================-->
  <!--================= start Banner ==================-->
  <table summary="header with logos" width="100%" border="0" cellpadding="0" 
cellspacing="0">
  <tr>
  <!--================= start Group Logo ==================-->
  <td bgcolor="#294563"><a href="http://ws.apache.org/jaxme/";><img border="0" 
class="logoImage" alt="JaxMe 2" src="../images/group-logo.gif"></a></td>
  <!--================= end Group Logo ==================-->
  <!--================= start Project Logo ==================--><td width="100%" 
align="center" bgcolor="#294563"><a href="http://ws.apache.org/JaxMe/";>JaxMe 2</a></td>
  <!--================= end Project Logo ==================-->
  <!--================= start Search ==================--><td valign="top" rowspan="2" 
bgcolor="#294563">
  <form target="_blank" action="http://www.google.com/search"; method="get">
  <table summary="search" border="0" cellspacing="0" cellpadding="0" bgcolor="#4C6C8F">
  <tr>
  <td colspan="3"><img height="10" width="1" alt="" src="../skin/images/spacer.gif" 
class="spacer"></td>
  </tr>
  <tr>
  <td><img height="1" width="1" alt="" src="../skin/images/spacer.gif" 
class="spacer"></td><td nowrap="nowrap"><input value="ws.apache.org/JaxMe/" 
name="sitesearch" type="hidden"><input size="15" name="q" id="query" type="text"><img 
height="1" width="5" alt="" src="../skin/images/spacer.gif" class="spacer"><input 
name="Search" value="Search" type="submit">
  <br>
  <font face="Arial, Helvetica, Sans-serif" size="2" color="white">
                        the JaxMe 2 site
                        
                        
                      </font></td><td><img height="1" width="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td><img alt="" border="0" height="10" width="9" 
src="../skin/images/search-left.gif"></td><td><img height="1" width="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td><td><img alt="" border="0" 
height="10" width="9" src="../skin/images/search-right.gif"></td>
  </tr>
  </table>
  </form>
  </td>
  <!--================= start Search ==================--><td bgcolor="#294563"><img 
height="10" width="10" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td valign="bottom" bgcolor="#294563" colspan="2">
  <!--================= start Tabs ==================-->
  <div class="tab">
  <table summary="tab bar" border="0" cellpadding="0" cellspacing="0">
  <tr>
  <td width="6"><img alt="" height="8" width="6" 
src="../skin/images/spacer.gif"></td><td valign="bottom">
  <table summary="non selected tab" style="height: 1.6em" border="0" cellpadding="0" 
cellspacing="0">
  <tr>
  <td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" 
src="../skin/images/tab-left.gif"></td><td valign="middle" bgcolor="#B2C4E0"><a 
class="base-not-selected" href="../index.html">JaxMe 2</a></td><td valign="top" 
width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" 
src="../skin/images/tab-right.gif"></td>
  </tr>
  <tr>
  <td colspan="3" height="1"></td>
  </tr>
  </table>
  </td><td width="6"><img alt="" height="8" width="6" 
src="../skin/images/spacer.gif"></td><td valign="bottom">
  <table summary="non selected tab" style="height: 1.6em" border="0" cellpadding="0" 
cellspacing="0">
  <tr>
  <td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" 
src="../skin/images/tab-left.gif"></td><td valign="middle" bgcolor="#B2C4E0"><a 
class="base-not-selected" href="../api/index.html">JAXB API</a></td><td valign="top" 
width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" 
src="../skin/images/tab-right.gif"></td>
  </tr>
  <tr>
  <td colspan="3" height="1"></td>
  </tr>
  </table>
  </td><td width="6"><img alt="" height="8" width="6" 
src="../skin/images/spacer.gif"></td><td valign="bottom">
  <table summary="non selected tab" style="height: 1.6em" border="0" cellpadding="0" 
cellspacing="0">
  <tr>
  <td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" 
src="../skin/images/tab-left.gif"></td><td valign="middle" bgcolor="#B2C4E0"><a 
class="base-not-selected" href="../js/index.html">JaxMeJS</a></td><td valign="top" 
width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" 
src="../skin/images/tab-right.gif"></td>
  </tr>
  <tr>
  <td colspan="3" height="1"></td>
  </tr>
  </table>
  </td><td width="6"><img alt="" height="8" width="6" 
src="../skin/images/spacer.gif"></td><td valign="bottom">
  <table summary="non selected tab" style="height: 1.6em" border="0" cellpadding="0" 
cellspacing="0">
  <tr>
  <td valign="top" width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" 
src="../skin/images/tab-left.gif"></td><td valign="middle" bgcolor="#B2C4E0"><a 
class="base-not-selected" href="../xs/index.html">JaxMeXS</a></td><td valign="top" 
width="5" bgcolor="#B2C4E0"><img height="5" width="5" alt="" 
src="../skin/images/tab-right.gif"></td>
  </tr>
  <tr>
  <td colspan="3" height="1"></td>
  </tr>
  </table>
  </td><td width="6"><img alt="" height="8" width="6" 
src="../skin/images/spacer.gif"></td><td valign="bottom">
  <table summary="selected tab" style="height: 1.8em" border="0" cellpadding="0" 
cellspacing="0">
  <tr>
  <td valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" 
src="../skin/images/tabSel-left.gif"></td><td valign="middle" bgcolor="#4C6C8F"><font 
color="#ffffff" size="2" face="Arial, Helvetica, Sans-serif"><b><a 
class="base-selected" href="../pm/index.html">JaxMePM</a></b></font></td><td 
valign="top" width="5" bgcolor="#4C6C8F"><img height="5" width="5" alt="" 
src="../skin/images/tabSel-right.gif"></td>
  </tr>
  </table>
  </td>
  </tr>
  </table>
  </div>
  <!--================= end Tabs ==================-->
  </td><td bgcolor="#294563"><img alt="" width="1" height="1" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td bgcolor="#4C6C8F" colspan="4"><img width="1" height="10" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  </table>
  <!--================= end Banner ==================-->
  <!--================= start Menu, NavBar, Content ==================-->
  <table summary="page content" bgcolor="#ffffff" width="100%" border="0" 
cellpadding="0" cellspacing="0">
  <tr>
  <td valign="top">
  <table summary="menu" border="0" cellspacing="0" cellpadding="0">
  <tr>
  <!--================= start left top NavBar ==================-->
  <td rowspan="3" valign="top">
  <table summary="blue line" border="0" cellpadding="0" cellspacing="0">
  <tr>
  <td bgcolor="#294563"><img width="10" height="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td bgcolor="#CFDCED"><font color="#4C6C8F" size="4" face="Arial, Helvetica, 
Sans-serif">&nbsp;</font></td>
  </tr>
  <tr>
  <td bgcolor="#294563"><img width="10" height="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  </table>
  </td>
  <!--================= end left top NavBar ==================--><td 
bgcolor="#294563"><img width="1" height="1" alt="" src="../skin/images/spacer.gif" 
class="spacer"></td><td valign="bottom" bgcolor="#4C6C8F"><img width="10" height="10" 
alt="" src="../skin/images/spacer.gif" class="spacer"></td><td nowrap="nowrap" 
valign="top" bgcolor="#4C6C8F">
  <!--================= start Menu items ==================-->
  <div class="menu">
  <ul>
  <li>
  <font color="#CFDCED">JaxMePM</font>
  <ul>
        
  <li>
  <a href="index.html">Introduction</a>
  </li>
        
  <li>
  <a href="jdbc.html">JDBC</a>
  </li>
        
  <li>
  <span class="sel"><font color="#ffcc00">Tamino</font></span>
  </li>
    
  </ul>
  </li>
  </ul>
  </div>
  <!--================= end Menu items ==================-->
  </td><td valign="bottom" bgcolor="#4C6C8F"><img width="10" height="10" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td><td bgcolor="#294563"><img 
width="1" height="1" alt="" src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td valign="bottom" align="left" colspan="2" rowspan="2" bgcolor="#4C6C8F"><img 
height="10" width="10" border="0" alt="" src="../skin/images/menu-left.gif"></td><td 
bgcolor="#4C6C8F"><img height="10" width="10" alt="" src="../skin/images/spacer.gif" 
class="spacer"></td><td valign="bottom" align="right" colspan="2" rowspan="2" 
bgcolor="#4C6C8F"><img height="10" width="10" border="0" alt="" 
src="../skin/images/menu-right.gif"></td>
  </tr>
  <tr>
  <td height="1" bgcolor="#294563"><img width="1" height="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  </table>
  </td><td valign="top" width="100%">
  <table summary="content" width="100%" border="0" cellpadding="0" cellspacing="0">
  <!--================= start middle NavBar ==================-->
  <tr>
  <td colspan="4" bgcolor="#294563"><img width="10" height="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <tr>
  <td align="left" width="10" bgcolor="#CFDCED"><img width="10" height="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td><td align="left" width="50%" 
bgcolor="#CFDCED"><font color="#4C6C8F" size="3" face="Arial, Helvetica, Sans-serif">
                  &nbsp;
                  
                  </font><img width="10" height="8" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td><td align="right" width="50%" 
bgcolor="#CFDCED"><font color="#4C6C8F" size="3" face="Arial, Helvetica, Sans-serif">
                  &nbsp;
                  
                  </font><img width="10" height="8" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td><td width="10" 
bgcolor="#CFDCED"><img width="10" height="1" alt="" src="../skin/images/spacer.gif" 
class="spacer"></td>
  </tr>
  <tr>
  <td colspan="4" bgcolor="#294563"><img width="10" height="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <!--================= end middle NavBar ==================-->
  <!--================= start Content==================-->
  <tr>
  <td align="left" width="10"><img width="10" height="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td><td colspan="2" align="left" 
width="100%">
  <div class="content">
  <table class="title" summary="">
  <tr>
  <td valign="middle">
  <h1>Accessing a Tamino database</h1>
  </td><td nowrap="nowrap" width="40" align="center"><a class="dida" 
href="ino.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br>
            PDF</a></td>
  </tr>
  </table>
  <ul class="minitoc">
  <li>
  <a href="#Preparations">Preparations</a>
  </li>
  <li>
  <a href="#Preparing+the+Tamino+Resource+Adapter">Preparing the Tamino Resource 
Adapter</a>
  </li>
  <li>
  <a href="#An+example+schema+for+TaminoAPI4J">An example schema for TaminoAPI4J</a>
  </li>
  <li>
  <a href="#Build+your+own+JaxMe+distribution">Build your own JaxMe distribution</a>
  </li>
  <li>
  <a href="#Creating+an+Ant+task">Creating an Ant task</a>
  </li>
  <li>
  <a href="#Using+the+native+HTTP+API">Using the native HTTP API</a>
  </li>
  </ul>
        
  <p>
  <a href="http://www.softwareag.com/tamino/";>Tamino</a> is a native XML database by
        <a href="http://www.softwareag.com/";>Software AG</a>. Compared to a relational
          database, it has the disadvantage of being not very popular.
          However, if your data is structured (more structured than
          conveniently expressible by relational data structures, that is)
          you will soon find a lot of advantages and possibly prefer it
          over a traditional SQL database engine. From within JaxMe, Tamino
          may be accessed in either of three ways:</p>
        
  <ul>
          
  <li>Via the XML:DB API, implemented by the
                <a 
href="../apidocs/org/apache/ws/jaxme/pm/xmldb/XmlDbPM.html">XmlDbPM</a>.
                This is the recommended way if you want your application to be
                portable amongst various XML databases. The XML:DB API is
                being described in a separate document. (To be done.)</li>
          
  <li>Via native HTTP, implemented by the
                <a 
href="../apidocs/org/apache/ws/jaxme/pm/ino/InoManager.html">InoManager</a>.
            This solution is recommended, if you need a very low memory
            profile, even for processing a large result set. In particular
            it offers a true streaming mode.</li>
          
  <li>Via the official Tamino Java API, called TaminoAPI4J.
                This is recommended for enterprise applications, as it
                allows to embed Tamino into the transactional context of
                an EJB container.</li>
        
  </ul>
  
        
  <a name="N10028"></a><a name="Preparations"></a>
  <h3>Preparations</h3>
  <div style="margin-left: 0 ; border: 2px">
  <p>Tamino is accessible via two different query languages.
                  The elder variant is called <em>X-Query</em> and is best
                  compared with <em>XPath</em>. The newer language is based
                  on <em>XQuery</em>.
                </p>
  <p>XPath and X-Query share an important problem when using
                  namespaces: They have no mapping between namespace prefixes
                  and namespace URIs. In other words, if you perform a query
                  like</p>
  <pre class="code">
                        _xql=ad:Address
                </pre>
  <p>then the database <em>must know</em>, that the prefix
                  <span class="codefrag">ad</span> is mapped to the namespace URI
                  <span 
class="codefrag">http://ws.apache.org/jaxme/test/misc/address</span>.
                  </p>
  <p>Tamino and the JaxMe managers overcome the absence of a
                  mapping in the query by storing the mapping from the
                  schema and using that. In other words, if you are
                  using namespaces, then you should:</p>
  <ol>
                        
  <li>Specify a prefix for the namespace in the schema.</li>
                        
  <li>Use the same schema (and thus the same prefix) for
                                the database schema as well as the JaxMe generator.
                                (Obviously this is recommended anyways.)</li>
                        
  <li>Use the same prefix for specifying queries.</li>
                
  </ol>
  </div>
  
        
  <a name="N1005D"></a><a name="Preparing+the+Tamino+Resource+Adapter"></a>
  <h3>Preparing the Tamino Resource Adapter</h3>
  <div style="margin-left: 0 ; border: 2px">
  <p>Adding the Tamino Resource Adapter is covered in the
                  documentation of the TaminoAPI4J. However, we'll provide
                  specific details for JBoss 3.2 here, because the docs
                  are for JBoss 3.0 only and because we disagree with
                  the recommendation to add the Tamino jar files to the
                  JBoss lib directory. So here's what we've done, step
                  by step:
                </p>
  <ul>
                  
  <li>Add the jar file <span class="codefrag">TaminoAPI4J.jar</span>
                        to the rar file, for example
                        <span class="codefrag">TaminoJCA_localTx.rar</span>. Copy the
                        RAR file to the JBoss deploy directory.
                  </li>
                  
  <li>Create a deployment descriptor file <span 
class="codefrag">tamino-service.xml</span>
                        with the following contents and copy it to the
                        JBoss deploy directory. (Of course you should adapt
                        the database URL, user and password to your local
                        settings. Most probably you would also want to change
                        the JNDI name <span 
class="codefrag">MyTaminoLocalTxConnector</span>.
                  </li>
                
  </ul>
  <pre class="code">
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;server&gt;
    &lt;!-- ==================================================================== --&gt;
    &lt;!-- New ConnectionManager setup for Tamino --&gt;
    &lt;!-- ==================================================================== --&gt;
    &lt;mbean code="org.jboss.resource.connectionmanager.LocalTxConnectionManager"
           name="jboss.jca:service=LocalTxCM,name=MyTaminoLocalTxConnector"&gt;
      &lt;attribute name="JndiName"&gt;MyTaminoLocalTxConnector&lt;/attribute&gt;
  
      &lt;depends optional-attribute-name="ManagedConnectionPool"&gt;
        &lt;!--embedded mbean--&gt;
        &lt;mbean 
code="org.jboss.resource.connectionmanager.JBossManagedConnectionPool"
               name="jboss.jca:service=LocalTxPool,name=MyTaminoLocalTxConnector"&gt;
            &lt;attribute name="MinSize"&gt;0&lt;/attribute&gt;
          &lt;attribute name="MaxSize"&gt;50&lt;/attribute&gt;
            &lt;attribute name="BlockingTimeoutMillis"&gt;5000&lt;/attribute&gt;
            &lt;attribute name="IdleTimeoutMinutes"&gt;15&lt;/attribute&gt;
            &lt;!-- criteria indicates if Subject (from security domain) or app 
supplied
                     parameters (such as from getConnection(user, pw)) are used to 
distinguish
                     connections in the pool. Choices are
                     ByContainerAndApplication (use both),
                     ByContainer (use Subject),
                     ByApplication (use app supplied params only),
                     ByNothing (all connections are equivalent, usually if adapter 
supports
                     reauthentication)--&gt;
            &lt;attribute name="Criteria"&gt;ByContainer&lt;/attribute&gt;
  
            &lt;depends optional-attribute-name="ManagedConnectionFactoryName"&gt;
              &lt;!--embedded mbean--&gt;
                  &lt;mbean code="org.jboss.resource.connectionmanager.RARDeployment"
                             
name="jboss.jca:service=LocalTxDS,name=MyTaminoLocalTxConnector"&gt;
                    &lt;attribute name="ManagedConnectionFactoryProperties"&gt;
                      &lt;properties&gt;
                            &lt;config-property name="TaminoURL" 
type="java.lang.String"&gt;http://localhost/tamino/test&lt;/config-property&gt;
                            &lt;config-property name="UserName" 
type="java.lang.String"&gt;ejb&lt;/config-property&gt;
                            &lt;config-property name="Password" 
type="java.lang.String"&gt;xxx&lt;/config-property&gt;
                      &lt;/properties&gt;
                    &lt;/attribute&gt;
  
                    &lt;!--Below here are advanced properties --&gt;
                    &lt;depends 
optional-attribute-name="OldRarDeployment"&gt;jboss.jca:service=RARDeployment,name=Tamino
 Resource Adapter for local transactions&lt;/depends&gt;
                  &lt;/mbean&gt;
            &lt;/depends&gt;
          &lt;/mbean&gt;
      &lt;/depends&gt;
      &lt;depends 
optional-attribute-name="CachedConnectionManager"&gt;jboss.jca:service=CachedConnectionManager&lt;/depends&gt;
      &lt;depends 
optional-attribute-name="JaasSecurityManagerService"&gt;jboss.security:service=JaasSecurityManager&lt;/depends&gt;
      &lt;depends 
optional-attribute-name="TransactionManagerService"&gt;jboss:service=TransactionManager&lt;/depends&gt;
  
      &lt;!--make the rar deploy! hack till better deployment--&gt;
      &lt;depends&gt;jboss.jca:service=RARDeployer&lt;/depends&gt;
    &lt;/mbean&gt;
  &lt;/server&gt;
        </pre>
  <ul>
                        
  <li>The Tamino driver is internally using the method
                          <span 
class="codefrag">XMLReaderFactory.createXMLReader()</span>. Unfortunately
                          this method is using <span 
class="codefrag">Class.forName(String)</span>
                          internally to load the SAX driver class. This won't work
                          in an environment with complex class loaders. In order to
                          make sure, that the latest SAX version is used, I did the
                          following:
                          <ol>
                                
  <li>Downloaded the jar file <span class="codefrag">sax2r2.jar</span> and
                                  extracted the jar file <span 
class="codefrag">sax.jar</span> from it.</li>
                                
  <li>Moved that file to the directory
                                  <span class="codefrag">jre/lib/endorsed</span> in my 
Java SDK directory.</li>
                          
  </ol>
                        
  </li>
                
  </ul>
  </div>
  
        
  <a name="N1009E"></a><a name="An+example+schema+for+TaminoAPI4J"></a>
  <h3>An example schema for TaminoAPI4J</h3>
  <div style="margin-left: 0 ; border: 2px">
  <p>As an example, we'll reuse the schema from the marshaller
                examples, <span class="codefrag">Address.xsd</span>:</p>
  <pre class="code">
  &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
  &lt;xs:schema
      xmlns:xs="http://www.w3.org/2001/XMLSchema";
      xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc";
      xmlns:jaxb="http://java.sun.com/xml/ns/jaxb";
      xmlns:ad="http://ws.apache.org/jaxme/test/misc/address";
      xmlns:inoapi="http://ws.apache.org/jaxme/namespaces/jaxme2/TaminoAPI4J";
      xmlns:tsd="http://namespaces.softwareag.com/tamino/TaminoSchemaDefinition";
      jaxb:extensionBindingPrefixes="xjc inoapi"
      xml:lang="EN"
      targetNamespace="http://ws.apache.org/jaxme/test/misc/address";
      elementFormDefault="qualified"
      attributeFormDefault="unqualified"&gt;
    &lt;xs:annotation&gt;
      &lt;xs:documentation&gt;
        A simple JaxMe example: Personal address collection.
      &lt;/xs:documentation&gt;
      &lt;xs:appinfo&gt;
        &lt;jaxb:globalBindings&gt;
          &lt;xjc:serializable/&gt;
          &lt;inoapi:raDetails collection="adr" 
jndiReference="java:MyTaminoLocalTxConnector"/&gt;
        &lt;/jaxb:globalBindings&gt;
        &lt;tsd:schemaInfo name="Address"&gt;
          &lt;tsd:collection name="adr"&gt;&lt;/tsd:collection&gt;
        &lt;/tsd:schemaInfo&gt;
      &lt;/xs:appinfo&gt;
    &lt;/xs:annotation&gt;
  
    &lt;xs:element name="Address"&gt;
      &lt;xs:complexType&gt;
        &lt;xs:sequence&gt;
          &lt;xs:element name="Name"&gt;
                  ...
                &lt;/xs:element&gt;
          &lt;/xs:sequence&gt;
        &lt;/xs:complexType&gt;
    &lt;/xs:element&gt;
  &lt;/xs:schema&gt;
        </pre>
  <p>Ignoring the details of the actual <span class="codefrag">Address</span> type,
              we only note the differences in the schema header:
            </p>
  <ul>
              
  <li>A namespace prefix <span class="codefrag">ad</span> is specified for the
                target namespace. In the previous section we have discussed,
                that this is a precondition.</li>
              
  <li>The element <span class="codefrag">xjc:serializable</span> element requests,
                that the generated classes implement the interface
                <span class="codefrag">java.io.Serializable</span>. This is required 
for
                use within an EJB container, as the objects wouldn't be
                serializable otherwise. The <span 
class="codefrag">xjc:serializable</span>
                is a vendor extension from the JAXB RI and supported
                by JaxMe too.</li>
              
  <li>The element <span class="codefrag">tsd:schemaInfo</span> fixes the
                schema and collection name. This element is read by
                Tamino when creating the schema. It is ignored by
                JaxMe.</li>
              
  <li>The element <span class="codefrag">inoapi:raDetails</span> specifies
                the same collection name and a JNDI name. The latter
                name is used to lookup the Tamino resource adapter.</li>
              
  <li>The JAXB specification requires, that the element
                <span class="codefrag">jaxb:globalBindings</span> contains no elements
                from other namespace than <span class="codefrag">jaxb</span>. To add
                vendor extensions like <span class="codefrag">xjc:serializable</span>
                and <span class="codefrag">inoapi:raDetails</span>, we need to add
                the attribute
                <span class="codefrag">jaxb:extensionBindingPrefixes="jaxb 
inoapi"</span>
                to <span class="codefrag">xs:schema</span>.</li>
            
  </ul>
  </div>
  
        
  <a name="N100EB"></a><a name="Build+your+own+JaxMe+distribution"></a>
  <h3>Build your own JaxMe distribution</h3>
  <div style="margin-left: 0 ; border: 2px">
  <p>For licensing reasons, we cannot add the files
                  <span class="codefrag">TaminoAPI4J.jar</span> and
                  <span class="codefrag">TaminoJCA.jar</span> to the JaxMe CVS 
repository.
                  In particular we cannot offer compiled classes based
                  on these files in the JaxMe distribution. Unfortunately
                  that means, that you have to build your own distribution.
                  Fortunately, this is quite simple:</p>
  <ul>
                  
  <li>Download the JaxMe source distribution (to be
                        distinguished from the JaxMe binary distributon)
                        and extract it.</li>
                  
  <li>Download the TaminoAPI4J distribution and install
                        it. Copy the files <span 
class="codefrag">TaminoAPI4J.jar</span>
                        and <span class="codefrag">TaminoJCA.jar</span> to the 
subdirectory
                        <span class="codefrag">prerequisites</span> in the JaxMe 
directory.</li>
                  
  <li>Change to the JaxMe directory and run <span class="codefrag">ant</span>.
                        The build script will automatically detect the presence
                        of the Tamino API files.</li>
                
  </ul>
  <div class="frame note">
  <div class="label">Note</div>
  <div class="content">
                  As of this writing, there is no official JaxMe distribution
                  available, which includes the Tamino support. In other words,
                  rather than downloading the sources you have to extract them
                  from the JaxMe CVS repository.
                </div>
  </div>
  </div>
  
        
  <a name="N10115"></a><a name="Creating+an+Ant+task"></a>
  <h3>Creating an Ant task</h3>
  <div style="margin-left: 0 ; border: 2px">
  <p>To invoke the JaxMe generator, use an Ant task like
                  the following:</p>
  <pre class="code">
        &lt;target name="generate"&gt;
        &lt;taskdef name="xjc" classname="org.apache.ws.jaxme.generator.XJCTask"&gt;
          &lt;classpath&gt;
                  &lt;fileset dir="lib" includes="jaxme*.jar"/&gt;
                  &lt;fileset dir="lib" includes="log4j-1.2.8.jar"/&gt;
          &lt;/classpath&gt;
        &lt;/taskdef&gt;
          &lt;mkdir dir="${build.src}"/&gt;
        &lt;xjc target="${build.src}"&gt;
          &lt;schema dir="${etc}" includes="*.xsd"/&gt;
          &lt;produces dir="${build.src}" 
includes="org/apache/ws/jaxme/test/misc/address/**/*"/&gt;
          &lt;sgFactoryChain 
className="org.apache.ws.jaxme.generator.ino.api4j.TaminoAPI4JSG"/&gt;
          &lt;schemaReader 
className="org.apache.ws.jaxme.generator.sg.impl.JaxMeSchemaReader"/&gt;
        &lt;/xjc&gt;
        &lt;/target&gt;
        </pre>
  </div>
  
        
  <a name="N10123"></a><a name="Using+the+native+HTTP+API"></a>
  <h3>Using the native HTTP API</h3>
  <div style="margin-left: 0 ; border: 2px">
  <p>Not yet documented. (To be done.)</p>
  </div>
    
  <div class="attribution"></div>
  </div>
  </td><td width="10"><img width="10" height="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"></td>
  </tr>
  <!--================= end Content==================-->
  </table>
  </td>
  </tr>
  </table>
  <!--================= end Menu, NavBar, Content ==================-->
  <!--================= start Footer ==================-->
  <table summary="footer" cellspacing="0" cellpadding="0" width="100%" border="0">
  <tr>
  <td colspan="2" height="1" bgcolor="#4C6C8F"><img height="1" width="1" alt="" 
src="../skin/images/spacer.gif" class="spacer"><a 
href="../skin/images/label.gif"></a><a href="../skin/images/page.gif"></a><a 
href="../skin/images/chapter.gif"></a><a href="../skin/images/chapter_open.gif"></a><a 
href="../skin/images/current.gif"></a><a href="/favicon.ico"></a></td>
  </tr>
  <tr>
  <td colspan="2" bgcolor="#CFDCED" class="copyright" align="center"><font size="2" 
face="Arial, Helvetica, Sans-Serif">Copyright &copy;
            2003-2004&nbsp;Apache Software Foundation All rights reserved.<script 
type="text/javascript" language="JavaScript"><!--
                document.write(" - "+"Last Published: " + document.lastModified);
              //  --></script></font></td>
  </tr>
  <tr>
  <td colspan="2" align="left" bgcolor="#CFDCED" class="logos"></td>
  </tr>
  </table>
  <!--================= end Footer ==================-->
  </body>
  </html>
  
  
  
  1.1                  ws-site/targets/jaxme/pm/ino.pdf
  
        <<Binary file>>
  
  

Reply via email to