blob: b4398ce1fa01acec14a93ae5137bb7baf4c3d2fc [file] [log] [blame]
<!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.6.0_29) on Thu Nov 21 14:32:42 CET 2013 -->
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<TITLE>
XMLSchemaParser (OpenJPA Parent POM 2.3.0 API)
</TITLE>
<META NAME="date" CONTENT="2013-11-21">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="XMLSchemaParser (OpenJPA Parent POM 2.3.0 API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<!-- ========= 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=2 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="class-use/XMLSchemaParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.UniqueInfo.html" title="class in org.apache.openjpa.jdbc.schema"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/openjpa/jdbc/schema/XMLSchemaParser.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="XMLSchemaParser.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.openjpa.lib.meta.XMLMetaDataParser">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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.openjpa.jdbc.schema</FONT>
<BR>
Class XMLSchemaParser</H2>
<PRE>
<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">org.xml.sax.helpers.DefaultHandler</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html" title="class in org.apache.openjpa.lib.meta">org.apache.openjpa.lib.meta.XMLMetaDataParser</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.openjpa.jdbc.schema.XMLSchemaParser</B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaParser</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html" title="interface in org.apache.openjpa.lib.meta">MetaDataParser</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ContentHandler.html?is-external=true" title="class or interface in org.xml.sax">ContentHandler</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/DTDHandler.html?is-external=true" title="class or interface in org.xml.sax">DTDHandler</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/EntityResolver.html?is-external=true" title="class or interface in org.xml.sax">EntityResolver</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ErrorHandler.html?is-external=true" title="class or interface in org.xml.sax">ErrorHandler</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/ext/LexicalHandler.html?is-external=true" title="class or interface in org.xml.sax.ext">LexicalHandler</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B>XMLSchemaParser</B><DT>extends <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html" title="class in org.apache.openjpa.lib.meta">XMLMetaDataParser</A><DT>implements <A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaParser</A></DL>
</PRE>
<P>
Custom SAX parser used to parse <A HREF="../../../../../org/apache/openjpa/jdbc/schema/Schema.html" title="class in org.apache.openjpa.jdbc.schema"><CODE>Schema</CODE></A> objects. The parser
will place all parsed schemas into the current <A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema"><CODE>SchemaGroup</CODE></A>, set
via the <A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#setSchemaGroup(org.apache.openjpa.jdbc.schema.SchemaGroup)"><CODE>setSchemaGroup(org.apache.openjpa.jdbc.schema.SchemaGroup)</CODE></A> method. This allows parsing of
multiple files into a single schema group.
The parser deserializes from the following XML format:<br />
<code> &lt;!ELEMENT schemas (schema)+&gt;<br />
&lt;!ELEMENT schema (table|sequence)+&gt;<br />
&lt;!ATTLIST schema name CDATA #IMPLIED&gt;<br />
&lt;!ELEMENT table (column|index|pk|fk|unique)+&gt;<br />
&lt;!ATTLIST table name CDATA #REQUIRED&gt;<br />
&lt;!ELEMENT column EMPTY&gt;<br />
&lt;!ATTLIST column name CDATA #REQUIRED&gt;<br />
&lt;!ATTLIST column type (array|bigint|binary|bit|blob|char|clob
|date|decimal|distinct|double|float|integer|java_object
|longvarbinary|longvarchar|null|numeric|other|real|ref|smallint|struct
|time|timstamp|tinyint|varbinary|varchar) #REQUIRED&gt;<br />
&lt;!ATTLIST column type-name CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST column size CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST column decimal-digits CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST column not-null (true|false) "false"&gt;<br />
&lt;!ATTLIST column default CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST column auto-assign (true|false) "false"&gt;<br />
&lt;!ELEMENT index (on)*&gt;<br />
&lt;!ATTLIST index name CDATA #REQUIRED&gt;<br />
&lt;!ATTLIST index column CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST index unique (true|false) "false"&gt;<br />
&lt;!ELEMENT on EMPTY&gt;<br />
&lt;!ATTLIST on column CDATA #REQUIRED&gt;<br />
&lt;!ELEMENT pk (on)*&gt;<br /> &lt;!ATTLIST pk name CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST pk column CDATA #IMPLIED&gt;<br />
&lt;!ELEMENT fk (join)*&gt;<br />
&lt;!ATTLIST fk name CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST fk deferred (true|false) "false"&gt;<br />
&lt;!ATTLIST fk column CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST fk to-table CDATA #REQUIRED&gt;<br />
&lt;!ATTLIST fk delete-action (cascade|default|restrict|none|null)
"none"&gt;<br />
&lt;!ATTLIST fk update-action (cascade|default|restrict|none|null)
"none"&gt;<br /> &lt;!ELEMENT unique (on)*&gt;<br />
&lt;!ATTLIST unique name CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST unique column CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST unique deferred (true|false) "false"&gt;<br />
&lt;!ELEMENT join EMPTY&gt;<br />
&lt;!ATTLIST join column CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST join value CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST join to-column CDATA #REQUIRED&gt;<br />
&lt;!ELEMENT sequence EMPTY&gt;<br />
&lt;!ATTLIST sequence name CDATA #REQUIRED&gt;<br />
&lt;!ATTLIST sequence initial-value CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST sequence increment CDATA #IMPLIED&gt;<br />
&lt;!ATTLIST sequence allocate CDATA #IMPLIED&gt;<br />
</code>
Schema parsers are not threadsafe.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD>Abe White</DD>
</DL>
<HR>
<P>
<!-- ======== NESTED CLASS SUMMARY ======== -->
<A NAME="nested_class_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.UniqueInfo.html" title="class in org.apache.openjpa.jdbc.schema">XMLSchemaParser.UniqueInfo</A></B></CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Used to hold unique constraint info before it is resolved.</TD>
</TR>
</TABLE>
&nbsp;<!-- =========== FIELD SUMMARY =========== -->
<A NAME="field_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
</TABLE>
&nbsp;<A NAME="fields_inherited_from_class_org.apache.openjpa.lib.meta.XMLMetaDataParser"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Fields inherited from class org.apache.openjpa.lib.meta.<A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html" title="class in org.apache.openjpa.lib.meta">XMLMetaDataParser</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#_extendedNamespace">_extendedNamespace</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#_openjpaNamespace">_openjpaNamespace</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<A NAME="constructor_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Constructor Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#XMLSchemaParser(org.apache.openjpa.jdbc.conf.JDBCConfiguration)">XMLSchemaParser</A></B>(<A HREF="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</A>&nbsp;conf)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Constructor.</TD>
</TR>
</TABLE>
&nbsp;
<!-- ========== METHOD SUMMARY =========== -->
<A NAME="method_summary"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#endElement(java.lang.String)">endElement</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override this method marking the end of some element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#finish()">finish</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parse the schema relating to the given class.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#getDelayConstraintResolve()">getDelayConstraintResolve</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delay resolution of foreign key constraints until
<A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#resolveConstraints()"><CODE>SchemaParser.resolveConstraints()</CODE></A> is called.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;<A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#getDocType()">getDocType</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override this method to return any <code>DOCTYPE</code> declaration
that should be dynamically included in xml documents that will be
validated.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#getSchemaGroup()">getSchemaGroup</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the current schema group.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#reset()">reset</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override this method to clear any state and ready the parser for
a new document.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#resolveConstraints()">resolveConstraints</A></B>()</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;If this parser is in delayed resolve mode, resolve all constraints.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#setDelayConstraintResolve(boolean)">setDelayConstraintResolve</A></B>(boolean&nbsp;delay)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Delay resolution of foreign key constraints until
<A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#resolveConstraints()"><CODE>SchemaParser.resolveConstraints()</CODE></A> is called.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#setSchemaGroup(org.apache.openjpa.jdbc.schema.SchemaGroup)">setSchemaGroup</A></B>(<A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</A>&nbsp;group)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the current schema group; this clears all state from the last group.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>protected &nbsp;boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.html#startElement(java.lang.String, org.xml.sax.Attributes)">startElement</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</A>&nbsp;attrs)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Override this method marking the start of some element.</TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.openjpa.lib.meta.XMLMetaDataParser"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.apache.openjpa.lib.meta.<A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html" title="class in org.apache.openjpa.lib.meta">XMLMetaDataParser</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#addComments(java.lang.Object)">addComments</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#addResult(java.lang.Object)">addResult</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#characters(char[], int, int)">characters</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#clear()">clear</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#clearDeferredMetaData()">clearDeferredMetaData</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#comment(char[], int, int)">comment</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#currentClassLoader()">currentClassLoader</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#currentComments()">currentComments</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#currentDepth()">currentDepth</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#currentLocation()">currentLocation</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#currentText()">currentText</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#endCDATA()">endCDATA</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#endDTD()">endDTD</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#endElement(java.lang.String, java.lang.String, java.lang.String)">endElement</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#endEntity(java.lang.String)">endEntity</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#error(org.xml.sax.SAXParseException)">error</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#fatalError(org.xml.sax.SAXParseException)">fatalError</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getClassLoader()">getClassLoader</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getException(org.apache.openjpa.lib.util.Localizer.Message)">getException</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getException(org.apache.openjpa.lib.util.Localizer.Message, java.lang.Throwable)">getException</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getException(java.lang.String)">getException</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getLexicalHandler()">getLexicalHandler</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getLocation()">getLocation</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getLog()">getLog</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getOverrideContextClassloader()">getOverrideContextClassloader</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getParseComments()">getParseComments</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getParseText()">getParseText</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getResults()">getResults</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getSchemaSource()">getSchemaSource</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getSourceFile()">getSourceFile</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getSourceIsSystemId()">getSourceIsSystemId</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getSourceName()">getSourceName</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getSuffix()">getSuffix</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#ignoreContent(boolean)">ignoreContent</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#isCaching()">isCaching</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#isParsing()">isParsing</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#isValidating()">isValidating</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#parse(java.lang.Class, boolean)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#parse(java.io.File)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#parse(org.apache.openjpa.lib.meta.MetaDataIterator)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#parse(java.io.Reader, java.lang.String)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#parse(java.lang.String)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#parse(java.net.URL)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#parsed(java.lang.String)">parsed</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#parseNewResource(java.io.Reader, java.lang.String)">parseNewResource</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setCaching(boolean)">setCaching</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setClassLoader(java.lang.ClassLoader)">setClassLoader</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setDocumentLocator(org.xml.sax.Locator)">setDocumentLocator</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setLexicalHandler(org.xml.sax.ext.LexicalHandler)">setLexicalHandler</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setLocation(org.apache.openjpa.lib.xml.Location)">setLocation</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setLog(org.apache.openjpa.lib.log.Log)">setLog</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setOverrideContextClassloader(boolean)">setOverrideContextClassloader</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setParseComments(boolean)">setParseComments</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setParseText(boolean)">setParseText</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setParsing(boolean)">setParsing</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setSourceIsSystemId(boolean)">setSourceIsSystemId</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setSuffix(java.lang.String)">setSuffix</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#setValidating(boolean)">setValidating</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#startCDATA()">startCDATA</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#startDTD(java.lang.String, java.lang.String, java.lang.String)">startDTD</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)">startElement</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#startEntity(java.lang.String)">startEntity</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.xml.sax.helpers.DefaultHandler"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class org.xml.sax.helpers.<A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true" title="class or interface in org.xml.sax.helpers">DefaultHandler</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#endDocument()" title="class or interface in org.xml.sax.helpers">endDocument</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#endPrefixMapping(java.lang.String)" title="class or interface in org.xml.sax.helpers">endPrefixMapping</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#ignorableWhitespace(char[], int, int)" title="class or interface in org.xml.sax.helpers">ignorableWhitespace</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#notationDecl(java.lang.String, java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">notationDecl</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#processingInstruction(java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">processingInstruction</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#resolveEntity(java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">resolveEntity</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#skippedEntity(java.lang.String)" title="class or interface in org.xml.sax.helpers">skippedEntity</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#startDocument()" title="class or interface in org.xml.sax.helpers">startDocument</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#startPrefixMapping(java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">startPrefixMapping</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#unparsedEntityDecl(java.lang.String, java.lang.String, java.lang.String, java.lang.String)" title="class or interface in org.xml.sax.helpers">unparsedEntityDecl</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/helpers/DefaultHandler.html?is-external=true#warning(org.xml.sax.SAXParseException)" title="class or interface in org.xml.sax.helpers">warning</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_org.apache.openjpa.lib.meta.MetaDataParser"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface org.apache.openjpa.lib.meta.<A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html" title="interface in org.apache.openjpa.lib.meta">MetaDataParser</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html#clear()">clear</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html#getResults()">getResults</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html#parse(java.lang.Class, boolean)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html#parse(java.io.File)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html#parse(org.apache.openjpa.lib.meta.MetaDataIterator)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html#parse(java.io.Reader, java.lang.String)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html#parse(java.lang.String)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html#parse(java.net.URL)">parse</A>, <A HREF="../../../../../org/apache/openjpa/lib/meta/MetaDataParser.html#setClassLoader(java.lang.ClassLoader)">setClassLoader</A></CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="XMLSchemaParser(org.apache.openjpa.jdbc.conf.JDBCConfiguration)"><!-- --></A><H3>
XMLSchemaParser</H3>
<PRE>
public <B>XMLSchemaParser</B>(<A HREF="../../../../../org/apache/openjpa/jdbc/conf/JDBCConfiguration.html" title="interface in org.apache.openjpa.jdbc.conf">JDBCConfiguration</A>&nbsp;conf)</PRE>
<DL>
<DD>Constructor. Supply configuration.
<P>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="getDelayConstraintResolve()"><!-- --></A><H3>
getDelayConstraintResolve</H3>
<PRE>
public boolean <B>getDelayConstraintResolve</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#getDelayConstraintResolve()">SchemaParser</A></CODE></B></DD>
<DD>Delay resolution of foreign key constraints until
<A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#resolveConstraints()"><CODE>SchemaParser.resolveConstraints()</CODE></A> is called. This allows you to parse
multiple resources where a foreign key in one resource might refer
to a table in another.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#getDelayConstraintResolve()">getDelayConstraintResolve</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaParser</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setDelayConstraintResolve(boolean)"><!-- --></A><H3>
setDelayConstraintResolve</H3>
<PRE>
public void <B>setDelayConstraintResolve</B>(boolean&nbsp;delay)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#setDelayConstraintResolve(boolean)">SchemaParser</A></CODE></B></DD>
<DD>Delay resolution of foreign key constraints until
<A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#resolveConstraints()"><CODE>SchemaParser.resolveConstraints()</CODE></A> is called. This allows you to parse
multiple resources where a foreign key in one resource might refer
to a table in another.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#setDelayConstraintResolve(boolean)">setDelayConstraintResolve</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaParser</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="resolveConstraints()"><!-- --></A><H3>
resolveConstraints</H3>
<PRE>
public void <B>resolveConstraints</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#resolveConstraints()">SchemaParser</A></CODE></B></DD>
<DD>If this parser is in delayed resolve mode, resolve all constraints.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#resolveConstraints()">resolveConstraints</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaParser</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getSchemaGroup()"><!-- --></A><H3>
getSchemaGroup</H3>
<PRE>
public <A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</A> <B>getSchemaGroup</B>()</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#getSchemaGroup()">SchemaParser</A></CODE></B></DD>
<DD>Return the current schema group.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#getSchemaGroup()">getSchemaGroup</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaParser</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setSchemaGroup(org.apache.openjpa.jdbc.schema.SchemaGroup)"><!-- --></A><H3>
setSchemaGroup</H3>
<PRE>
public void <B>setSchemaGroup</B>(<A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaGroup.html" title="class in org.apache.openjpa.jdbc.schema">SchemaGroup</A>&nbsp;group)</PRE>
<DL>
<DD><B>Description copied from interface: <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#setSchemaGroup(org.apache.openjpa.jdbc.schema.SchemaGroup)">SchemaParser</A></CODE></B></DD>
<DD>Set the current schema group; this clears all state from the last group.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html#setSchemaGroup(org.apache.openjpa.jdbc.schema.SchemaGroup)">setSchemaGroup</A></CODE> in interface <CODE><A HREF="../../../../../org/apache/openjpa/jdbc/schema/SchemaParser.html" title="interface in org.apache.openjpa.jdbc.schema">SchemaParser</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="finish()"><!-- --></A><H3>
finish</H3>
<PRE>
protected void <B>finish</B>()</PRE>
<DL>
<DD>Parse the schema relating to the given class. The schemas will
be added to the current schema group.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#finish()">finish</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html" title="class in org.apache.openjpa.lib.meta">XMLMetaDataParser</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="reset()"><!-- --></A><H3>
reset</H3>
<PRE>
protected void <B>reset</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#reset()">XMLMetaDataParser</A></CODE></B></DD>
<DD>Override this method to clear any state and ready the parser for
a new document. Subclasses should call
<code>super.reset()</code> to clear superclass state.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#reset()">reset</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html" title="class in org.apache.openjpa.lib.meta">XMLMetaDataParser</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getDocType()"><!-- --></A><H3>
getDocType</H3>
<PRE>
protected <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/Reader.html?is-external=true" title="class or interface in java.io">Reader</A> <B>getDocType</B>()
throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getDocType()">XMLMetaDataParser</A></CODE></B></DD>
<DD>Override this method to return any <code>DOCTYPE</code> declaration
that should be dynamically included in xml documents that will be
validated. Returns null by default.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#getDocType()">getDocType</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html" title="class in org.apache.openjpa.lib.meta">XMLMetaDataParser</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="startElement(java.lang.String, org.xml.sax.Attributes)"><!-- --></A><H3>
startElement</H3>
<PRE>
protected boolean <B>startElement</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name,
<A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/Attributes.html?is-external=true" title="class or interface in org.xml.sax">Attributes</A>&nbsp;attrs)
throws <A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#startElement(java.lang.String, org.xml.sax.Attributes)">XMLMetaDataParser</A></CODE></B></DD>
<DD>Override this method marking the start of some element. If this method
returns false, the content of the element and the end element event will
be ignored.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#startElement(java.lang.String, org.xml.sax.Attributes)">startElement</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html" title="class in org.apache.openjpa.lib.meta">XMLMetaDataParser</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/org/xml/sax/SAXException.html?is-external=true" title="class or interface in org.xml.sax">SAXException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="endElement(java.lang.String)"><!-- --></A><H3>
endElement</H3>
<PRE>
protected void <B>endElement</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;name)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#endElement(java.lang.String)">XMLMetaDataParser</A></CODE></B></DD>
<DD>Override this method marking the end of some element.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html#endElement(java.lang.String)">endElement</A></CODE> in class <CODE><A HREF="../../../../../org/apache/openjpa/lib/meta/XMLMetaDataParser.html" title="class in org.apache.openjpa.lib.meta">XMLMetaDataParser</A></CODE></DL>
</DD>
<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=2 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="class-use/XMLSchemaParser.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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/openjpa/jdbc/schema/Unique.html" title="class in org.apache.openjpa.jdbc.schema"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../../org/apache/openjpa/jdbc/schema/XMLSchemaParser.UniqueInfo.html" title="class in org.apache.openjpa.jdbc.schema"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?org/apache/openjpa/jdbc/schema/XMLSchemaParser.html" target="_top"><B>FRAMES</B></A> &nbsp;
&nbsp;<A HREF="XMLSchemaParser.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.openjpa.lib.meta.XMLMetaDataParser">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
Copyright &#169; 2006&#x2013;2013 <a href="http://www.apache.org">Apache Software Foundation</a>. All rights reserved.
</BODY>
</HTML>