Show UnmarshallingContext.html syntax highlighted
<!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.5.0-beta2) on Tue Apr 17 12:40:25 EDT 2007 -->
<TITLE>
UnmarshallingContext
</TITLE>
<META NAME="keywords" CONTENT="org.rickmurphy.exchangepackage.disclosure.impl.runtime.UnmarshallingContext interface">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
parent.document.title="UnmarshallingContext";
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</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=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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallerImpl.html" title="class in org.rickmurphy.exchangepackage.disclosure.impl.runtime"><B>PREV CLASS</B></A>
<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingEventHandler.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html" target="_top"><B>FRAMES</B></A>
<A HREF="UnmarshallingContext.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <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.rickmurphy.exchangepackage.disclosure.impl.runtime</FONT>
<BR>
Interface UnmarshallingContext</H2>
<DL>
<DT><B>All Superinterfaces:</B> <DD>javax.xml.namespace.NamespaceContext</DD>
</DL>
<DL>
<DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/SAXUnmarshallerHandlerImpl.html" title="class in org.rickmurphy.exchangepackage.disclosure.impl.runtime">SAXUnmarshallerHandlerImpl</A></DD>
</DL>
<HR>
<DL>
<DT><PRE>public interface <B>UnmarshallingContext</B><DT>extends javax.xml.namespace.NamespaceContext</DL>
</PRE>
<P>
Methods exposed by the unmarshalling coordinator object
to the generated code.
This interface will be implemented by the coordinator, which
converts whatever events (e.g., SAX) into unmarshalling events.
<p>
Errors detected by the AbstractUnmarshallingEventHandlerImpl-derived classes should
be either thrown as <CODE>UnrepotedException</CODE> or reported through
the handleEvent method of this interface.
<P>
<P>
<DL>
<DT><B>Author:</B></DT>
<DD><a href="mailto:kohsuke.kawaguchi@sun.com">Kohsuke KAWAGUCHI</a></DD>
</DL>
<HR>
<P>
<!-- ========== 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> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#addPatcher(java.lang.Runnable)">addPatcher</A></B>(java.lang.Runnable job)</CODE>
<BR>
Adds a job that will be executed at the last of the unmarshalling.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#addToIdTable(java.lang.String)">addToIdTable</A></B>(java.lang.String id)</CODE>
<BR>
Adds the object which is currently being unmarshalled
to the ID table.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#consumeAttribute(int)">consumeAttribute</A></B>(int idx)</CODE>
<BR>
Fires an attribute event for the specified attribute,
and marks the attribute as "used".</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#eatAttribute(int)">eatAttribute</A></B>(int idx)</CODE>
<BR>
Marks the attribute as "used" and return the value of the attribute.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getAllDeclaredPrefixes()">getAllDeclaredPrefixes</A></B>()</CODE>
<BR>
Returns a list of all in-scope prefixes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getAttribute(java.lang.String, java.lang.String)">getAttribute</A></B>(java.lang.String uri,
java.lang.String name)</CODE>
<BR>
Gets the index of the attribute with the specified name.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getBaseUri()">getBaseUri</A></B>()</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingEventHandler.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime">UnmarshallingEventHandler</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getCurrentHandler()">getCurrentHandler</A></B>()</CODE>
<BR>
Gets the current handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/GrammarInfo.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime">GrammarInfo</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getGrammarInfo()">getGrammarInfo</A></B>()</CODE>
<BR>
Obtains a reference to the current grammar info.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> org.xml.sax.Locator</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getLocator()">getLocator</A></B>()</CODE>
<BR>
Gets the current source location information.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String[]</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getNewlyDeclaredPrefixes()">getNewlyDeclaredPrefixes</A></B>()</CODE>
<BR>
Returns a list of prefixes newly declared on this element.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Object</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getObjectFromId(java.lang.String)">getObjectFromId</A></B>(java.lang.String id)</CODE>
<BR>
Looks up the ID table and gets associated object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> com.sun.xml.bind.unmarshaller.Tracer</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getTracer()">getTracer</A></B>()</CODE>
<BR>
Gets a tracer object.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> org.xml.sax.Attributes</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#getUnconsumedAttributes()">getUnconsumedAttributes</A></B>()</CODE>
<BR>
Gets all the unconsumed attributes.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#handleEvent(javax.xml.bind.ValidationEvent, boolean)">handleEvent</A></B>(javax.xml.bind.ValidationEvent event,
boolean canRecover)</CODE>
<BR>
Reports an error to the user, and asks if s/he wants
to recover.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#isNotation(java.lang.String)">isNotation</A></B>(java.lang.String notationName)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> boolean</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#isUnparsedEntity(java.lang.String)">isUnparsedEntity</A></B>(java.lang.String entityName)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#popAttributes()">popAttributes</A></B>()</CODE>
<BR>
Discards the previously stored attribute set.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#popContentHandler()">popContentHandler</A></B>()</CODE>
<BR>
Pops a content handler from the stack and registers
it as the current content handler.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#pushAttributes(org.xml.sax.Attributes, boolean)">pushAttributes</A></B>(org.xml.sax.Attributes atts,
boolean collectText)</CODE>
<BR>
Stores a new attribute set.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#pushContentHandler(org.rickmurphy.exchangepackage.disclosure.impl.runtime.UnmarshallingEventHandler, int)">pushContentHandler</A></B>(<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingEventHandler.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime">UnmarshallingEventHandler</A> handler,
int memento)</CODE>
<BR>
Pushes the current content handler into the stack
and registers the newly specified content handler so
that it can receive SAX events.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#resolveNamespacePrefix(java.lang.String)">resolveNamespacePrefix</A></B>(java.lang.String prefix)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_javax.xml.namespace.NamespaceContext"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left"><B>Methods inherited from interface javax.xml.namespace.NamespaceContext</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>getNamespaceURI, getPrefix, getPrefixes</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ 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="getGrammarInfo()"><!-- --></A><H3>
getGrammarInfo</H3>
<PRE>
<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/GrammarInfo.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime">GrammarInfo</A> <B>getGrammarInfo</B>()</PRE>
<DL>
<DD>Obtains a reference to the current grammar info.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="pushContentHandler(org.rickmurphy.exchangepackage.disclosure.impl.runtime.UnmarshallingEventHandler, int)"><!-- --></A><H3>
pushContentHandler</H3>
<PRE>
void <B>pushContentHandler</B>(<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingEventHandler.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime">UnmarshallingEventHandler</A> handler,
int memento)</PRE>
<DL>
<DD>Pushes the current content handler into the stack
and registers the newly specified content handler so
that it can receive SAX events.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>memento</CODE> - When this newly specified handler will be removed from the stack,
the leaveChild event will be fired to the parent handler
with this memento.</DL>
</DD>
</DL>
<HR>
<A NAME="popContentHandler()"><!-- --></A><H3>
popContentHandler</H3>
<PRE>
void <B>popContentHandler</B>()
throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Pops a content handler from the stack and registers
it as the current content handler.
<p>
This method will also fire the leaveChild event with the
associated memento.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getCurrentHandler()"><!-- --></A><H3>
getCurrentHandler</H3>
<PRE>
<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingEventHandler.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime">UnmarshallingEventHandler</A> <B>getCurrentHandler</B>()</PRE>
<DL>
<DD>Gets the current handler.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getNewlyDeclaredPrefixes()"><!-- --></A><H3>
getNewlyDeclaredPrefixes</H3>
<PRE>
java.lang.String[] <B>getNewlyDeclaredPrefixes</B>()</PRE>
<DL>
<DD>Returns a list of prefixes newly declared on this element.
This method has to be called after the <A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html#pushAttributes(org.xml.sax.Attributes, boolean)"><CODE>pushAttributes(org.xml.sax.Attributes, boolean)</CODE></A>
method is called.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>A possible zero-length array of prefixes. The default prefix
is represented by the empty string.</DL>
</DD>
</DL>
<HR>
<A NAME="getAllDeclaredPrefixes()"><!-- --></A><H3>
getAllDeclaredPrefixes</H3>
<PRE>
java.lang.String[] <B>getAllDeclaredPrefixes</B>()</PRE>
<DL>
<DD>Returns a list of all in-scope prefixes.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>A possible zero-length array of prefixes. The default prefix
is represented by the empty string.</DL>
</DD>
</DL>
<HR>
<A NAME="pushAttributes(org.xml.sax.Attributes, boolean)"><!-- --></A><H3>
pushAttributes</H3>
<PRE>
void <B>pushAttributes</B>(org.xml.sax.Attributes atts,
boolean collectText)</PRE>
<DL>
<DD>Stores a new attribute set.
This method should be called by the generated code
when it "eats" an enterElement event.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>collectText</CODE> - false if the context doesn't need to fire text events
for texts inside this element. True otherwise.</DL>
</DD>
</DL>
<HR>
<A NAME="popAttributes()"><!-- --></A><H3>
popAttributes</H3>
<PRE>
void <B>popAttributes</B>()</PRE>
<DL>
<DD>Discards the previously stored attribute set.
This method should be called by the generated code
when it "eats" a leaveElement event.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getAttribute(java.lang.String, java.lang.String)"><!-- --></A><H3>
getAttribute</H3>
<PRE>
int <B>getAttribute</B>(java.lang.String uri,
java.lang.String name)</PRE>
<DL>
<DD>Gets the index of the attribute with the specified name.
This is usually faster when you only need to test with
a simple name.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>-1 if not found.</DL>
</DD>
</DL>
<HR>
<A NAME="getUnconsumedAttributes()"><!-- --></A><H3>
getUnconsumedAttributes</H3>
<PRE>
org.xml.sax.Attributes <B>getUnconsumedAttributes</B>()</PRE>
<DL>
<DD>Gets all the unconsumed attributes.
If you need to find attributes based on more complex filter,
you need to use this method.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="consumeAttribute(int)"><!-- --></A><H3>
consumeAttribute</H3>
<PRE>
void <B>consumeAttribute</B>(int idx)
throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Fires an attribute event for the specified attribute,
and marks the attribute as "used".
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="eatAttribute(int)"><!-- --></A><H3>
eatAttribute</H3>
<PRE>
java.lang.String <B>eatAttribute</B>(int idx)
throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Marks the attribute as "used" and return the value of the attribute.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="addPatcher(java.lang.Runnable)"><!-- --></A><H3>
addPatcher</H3>
<PRE>
void <B>addPatcher</B>(java.lang.Runnable job)</PRE>
<DL>
<DD>Adds a job that will be executed at the last of the unmarshalling.
This method is used to support ID/IDREF feature, but it can be used
for other purposes as well.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>job</CODE> - The run method of this object is called.</DL>
</DD>
</DL>
<HR>
<A NAME="addToIdTable(java.lang.String)"><!-- --></A><H3>
addToIdTable</H3>
<PRE>
java.lang.String <B>addToIdTable</B>(java.lang.String id)</PRE>
<DL>
<DD>Adds the object which is currently being unmarshalled
to the ID table.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>Returns the value passed as the parameter.
This is a hack, but this makes it easier for ID
transducer to do its job.</DL>
</DD>
</DL>
<HR>
<A NAME="getObjectFromId(java.lang.String)"><!-- --></A><H3>
getObjectFromId</H3>
<PRE>
java.lang.Object <B>getObjectFromId</B>(java.lang.String id)</PRE>
<DL>
<DD>Looks up the ID table and gets associated object.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>If there is no object associated with the given id,
this method returns null.</DL>
</DD>
</DL>
<HR>
<A NAME="getLocator()"><!-- --></A><H3>
getLocator</H3>
<PRE>
org.xml.sax.Locator <B>getLocator</B>()</PRE>
<DL>
<DD>Gets the current source location information.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="handleEvent(javax.xml.bind.ValidationEvent, boolean)"><!-- --></A><H3>
handleEvent</H3>
<PRE>
void <B>handleEvent</B>(javax.xml.bind.ValidationEvent event,
boolean canRecover)
throws org.xml.sax.SAXException</PRE>
<DL>
<DD>Reports an error to the user, and asks if s/he wants
to recover. If the canRecover flag is false, regardless
of the client instruction, an exception will be thrown.
Only if the flag is true and the user wants to recover from an error,
the method returns normally.
The thrown exception will be catched by the unmarshaller.
<P>
<DD><DL>
</DL>
</DD>
<DD><DL>
<DT><B>Throws:</B>
<DD><CODE>org.xml.sax.SAXException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="resolveNamespacePrefix(java.lang.String)"><!-- --></A><H3>
resolveNamespacePrefix</H3>
<PRE>
java.lang.String <B>resolveNamespacePrefix</B>(java.lang.String prefix)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getBaseUri()"><!-- --></A><H3>
getBaseUri</H3>
<PRE>
java.lang.String <B>getBaseUri</B>()</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isUnparsedEntity(java.lang.String)"><!-- --></A><H3>
isUnparsedEntity</H3>
<PRE>
boolean <B>isUnparsedEntity</B>(java.lang.String entityName)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="isNotation(java.lang.String)"><!-- --></A><H3>
isNotation</H3>
<PRE>
boolean <B>isNotation</B>(java.lang.String notationName)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getTracer()"><!-- --></A><H3>
getTracer</H3>
<PRE>
com.sun.xml.bind.unmarshaller.Tracer <B>getTracer</B>()</PRE>
<DL>
<DD>Gets a tracer object.
Tracer can be used to trace the unmarshalling behavior.
Note that to debug the unmarshalling process,
you have to configure XJC so that it will emit trace codes
in the unmarshaller.
<P>
<DD><DL>
</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> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallerImpl.html" title="class in org.rickmurphy.exchangepackage.disclosure.impl.runtime"><B>PREV CLASS</B></A>
<A HREF="../../../../../../org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingEventHandler.html" title="interface in org.rickmurphy.exchangepackage.disclosure.impl.runtime"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../../index.html?org/rickmurphy/exchangepackage/disclosure/impl/runtime/UnmarshallingContext.html" target="_top"><B>FRAMES</B></A>
<A HREF="UnmarshallingContext.html" target="_top"><B>NO FRAMES</B></A>
<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: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<HR>
</BODY>
</HTML>
See more files for this project here