|  | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | 
|  | <!-- NewPage --> | 
|  | <html lang="en"> | 
|  | <head> | 
|  | <!-- Generated by javadoc (version 1.7.0_11) on Wed Sep 18 01:55:17 EDT 2013 --> | 
|  | <title>ValidationEventLocator (EclipseLink 2.5.1, build 'v20130918-f2b9fc5' API Reference)</title> | 
|  | <meta name="date" content="2013-09-18"> | 
|  | <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> | 
|  | </head> | 
|  | <body> | 
|  | <script type="text/javascript"><!-- | 
|  | if (location.href.indexOf('is-external=true') == -1) { | 
|  | parent.document.title="ValidationEventLocator (EclipseLink 2.5.1, build 'v20130918-f2b9fc5' API Reference)"; | 
|  | } | 
|  | //--> | 
|  | </script> | 
|  | <noscript> | 
|  | <div>JavaScript is disabled on your browser.</div> | 
|  | </noscript> | 
|  | <!-- ========= START OF TOP NAVBAR ======= --> | 
|  | <div class="topNav"><a name="navbar_top"> | 
|  | <!--   --> | 
|  | </a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="navList" title="Navigation"> | 
|  | <li><a href="../../../overview-summary.html">Overview</a></li> | 
|  | <li><a href="package-summary.html">Package</a></li> | 
|  | <li class="navBarCell1Rev">Class</li> | 
|  | <li><a href="package-tree.html">Tree</a></li> | 
|  | <li><a href="../../../deprecated-list.html">Deprecated</a></li> | 
|  | <li><a href="../../../index-all.html">Index</a></li> | 
|  | <li><a href="../../../help-doc.html">Help</a></li> | 
|  | </ul> | 
|  | <div class="aboutLanguage"><em>EclipseLink 2.5.1, build 'v20130918-f2b9fc5' API Reference</em></div> | 
|  | </div> | 
|  | <div class="subNav"> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../javax/xml/bind/ValidationEventHandler.html" title="interface in javax.xml.bind"><span class="strong">Prev Class</span></a></li> | 
|  | <li><a href="../../../javax/xml/bind/ValidationException.html" title="class in javax.xml.bind"><span class="strong">Next Class</span></a></li> | 
|  | </ul> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../index.html?javax/xml/bind/ValidationEventLocator.html" target="_top">Frames</a></li> | 
|  | <li><a href="ValidationEventLocator.html" target="_top">No Frames</a></li> | 
|  | </ul> | 
|  | <ul class="navList" id="allclasses_navbar_top"> | 
|  | <li><a href="../../../allclasses-noframe.html">All Classes</a></li> | 
|  | </ul> | 
|  | <div> | 
|  | <script type="text/javascript"><!-- | 
|  | allClassesLink = document.getElementById("allclasses_navbar_top"); | 
|  | if(window==top) { | 
|  | allClassesLink.style.display = "block"; | 
|  | } | 
|  | else { | 
|  | allClassesLink.style.display = "none"; | 
|  | } | 
|  | //--> | 
|  | </script> | 
|  | </div> | 
|  | <div> | 
|  | <ul class="subNavList"> | 
|  | <li>Summary: </li> | 
|  | <li>Nested | </li> | 
|  | <li>Field | </li> | 
|  | <li>Constr | </li> | 
|  | <li><a href="#method_summary">Method</a></li> | 
|  | </ul> | 
|  | <ul class="subNavList"> | 
|  | <li>Detail: </li> | 
|  | <li>Field | </li> | 
|  | <li>Constr | </li> | 
|  | <li><a href="#method_detail">Method</a></li> | 
|  | </ul> | 
|  | </div> | 
|  | <a name="skip-navbar_top"> | 
|  | <!--   --> | 
|  | </a></div> | 
|  | <!-- ========= END OF TOP NAVBAR ========= --> | 
|  | <!-- ======== START OF CLASS DATA ======== --> | 
|  | <div class="header"> | 
|  | <div class="subTitle">javax.xml.bind</div> | 
|  | <h2 title="Interface ValidationEventLocator" class="title">Interface ValidationEventLocator</h2> | 
|  | </div> | 
|  | <div class="contentContainer"> | 
|  | <div class="description"> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <dl> | 
|  | <dt>All Known Implementing Classes:</dt> | 
|  | <dd><a href="../../../javax/xml/bind/helpers/ValidationEventLocatorImpl.html" title="class in javax.xml.bind.helpers">ValidationEventLocatorImpl</a></dd> | 
|  | </dl> | 
|  | <hr> | 
|  | <br> | 
|  | <pre>public interface <span class="strong">ValidationEventLocator</span></pre> | 
|  | <div class="block">Encapsulate the location of a ValidationEvent. | 
|  |  | 
|  | <p> | 
|  | The <tt>ValidationEventLocator</tt> indicates where the <tt>ValidationEvent | 
|  | </tt> occurred.  Different fields will be set depending on the type of | 
|  | validation that was being performed when the error or warning was detected. | 
|  | For example, on-demand validation would produce locators that contained | 
|  | references to objects in the Java content tree while unmarshal-time | 
|  | validation would produce locators containing information appropriate to the | 
|  | source of the XML data (file, url, Node, etc).</div> | 
|  | <dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../javax/xml/bind/Validator.html" title="interface in javax.xml.bind"><code>Validator</code></a>, | 
|  | <a href="../../../javax/xml/bind/ValidationEvent.html" title="interface in javax.xml.bind"><code>ValidationEvent</code></a></dd><dt><span class="strong">Author:</span></dt> | 
|  | <dd><ul><li>Ryan Shoemaker, Sun Microsystems, Inc.</li><li>Kohsuke Kawaguchi, Sun Microsystems, Inc.</li><li>Joe Fialli, Sun Microsystems, Inc.</li></ul></dd> | 
|  | <dt><span class="strong">Since:</span></dt> | 
|  | <dd>JAXB1.0</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="summary"> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <!-- ========== METHOD SUMMARY =========== --> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"><a name="method_summary"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <h3>Method Summary</h3> | 
|  | <table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> | 
|  | <caption><span>Methods</span><span class="tabEnd"> </span></caption> | 
|  | <tr> | 
|  | <th class="colFirst" scope="col">Modifier and Type</th> | 
|  | <th class="colLast" scope="col">Method and Description</th> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code>int</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../javax/xml/bind/ValidationEventLocator.html#getColumnNumber()">getColumnNumber</a></strong>()</code> | 
|  | <div class="block">Return the column number if available</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="rowColor"> | 
|  | <td class="colFirst"><code>int</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../javax/xml/bind/ValidationEventLocator.html#getLineNumber()">getLineNumber</a></strong>()</code> | 
|  | <div class="block">Return the line number if available</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code>org.w3c.dom.Node</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../javax/xml/bind/ValidationEventLocator.html#getNode()">getNode</a></strong>()</code> | 
|  | <div class="block">Return a reference to the DOM Node if available</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="rowColor"> | 
|  | <td class="colFirst"><code>java.lang.Object</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../javax/xml/bind/ValidationEventLocator.html#getObject()">getObject</a></strong>()</code> | 
|  | <div class="block">Return a reference to the object in the Java content tree if available</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="altColor"> | 
|  | <td class="colFirst"><code>int</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../javax/xml/bind/ValidationEventLocator.html#getOffset()">getOffset</a></strong>()</code> | 
|  | <div class="block">Return the byte offset if available</div> | 
|  | </td> | 
|  | </tr> | 
|  | <tr class="rowColor"> | 
|  | <td class="colFirst"><code>java.net.URL</code></td> | 
|  | <td class="colLast"><code><strong><a href="../../../javax/xml/bind/ValidationEventLocator.html#getURL()">getURL</a></strong>()</code> | 
|  | <div class="block">Return the name of the XML source as a URL if available</div> | 
|  | </td> | 
|  | </tr> | 
|  | </table> | 
|  | </li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </div> | 
|  | <div class="details"> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <!-- ============ METHOD DETAIL ========== --> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"><a name="method_detail"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <h3>Method Detail</h3> | 
|  | <a name="getURL()"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>getURL</h4> | 
|  | <pre>java.net.URL getURL()</pre> | 
|  | <div class="block">Return the name of the XML source as a URL if available</div> | 
|  | <dl><dt><span class="strong">Returns:</span></dt><dd>the name of the XML source as a URL or null if unavailable</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="getOffset()"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>getOffset</h4> | 
|  | <pre>int getOffset()</pre> | 
|  | <div class="block">Return the byte offset if available</div> | 
|  | <dl><dt><span class="strong">Returns:</span></dt><dd>the byte offset into the input source or -1 if unavailable</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="getLineNumber()"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>getLineNumber</h4> | 
|  | <pre>int getLineNumber()</pre> | 
|  | <div class="block">Return the line number if available</div> | 
|  | <dl><dt><span class="strong">Returns:</span></dt><dd>the line number or -1 if unavailable</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="getColumnNumber()"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>getColumnNumber</h4> | 
|  | <pre>int getColumnNumber()</pre> | 
|  | <div class="block">Return the column number if available</div> | 
|  | <dl><dt><span class="strong">Returns:</span></dt><dd>the column number or -1 if unavailable</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="getObject()"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockList"> | 
|  | <li class="blockList"> | 
|  | <h4>getObject</h4> | 
|  | <pre>java.lang.Object getObject()</pre> | 
|  | <div class="block">Return a reference to the object in the Java content tree if available</div> | 
|  | <dl><dt><span class="strong">Returns:</span></dt><dd>a reference to the object in the Java content tree or null if | 
|  | unavailable</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | <a name="getNode()"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="blockListLast"> | 
|  | <li class="blockList"> | 
|  | <h4>getNode</h4> | 
|  | <pre>org.w3c.dom.Node getNode()</pre> | 
|  | <div class="block">Return a reference to the DOM Node if available</div> | 
|  | <dl><dt><span class="strong">Returns:</span></dt><dd>a reference to the DOM Node or null if unavailable</dd></dl> | 
|  | </li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </li> | 
|  | </ul> | 
|  | </div> | 
|  | </div> | 
|  | <!-- ========= END OF CLASS DATA ========= --> | 
|  | <!-- ======= START OF BOTTOM NAVBAR ====== --> | 
|  | <div class="bottomNav"><a name="navbar_bottom"> | 
|  | <!--   --> | 
|  | </a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow"> | 
|  | <!--   --> | 
|  | </a> | 
|  | <ul class="navList" title="Navigation"> | 
|  | <li><a href="../../../overview-summary.html">Overview</a></li> | 
|  | <li><a href="package-summary.html">Package</a></li> | 
|  | <li class="navBarCell1Rev">Class</li> | 
|  | <li><a href="package-tree.html">Tree</a></li> | 
|  | <li><a href="../../../deprecated-list.html">Deprecated</a></li> | 
|  | <li><a href="../../../index-all.html">Index</a></li> | 
|  | <li><a href="../../../help-doc.html">Help</a></li> | 
|  | </ul> | 
|  | <div class="aboutLanguage"><em>EclipseLink 2.5.1, build 'v20130918-f2b9fc5' API Reference</em></div> | 
|  | </div> | 
|  | <div class="subNav"> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../javax/xml/bind/ValidationEventHandler.html" title="interface in javax.xml.bind"><span class="strong">Prev Class</span></a></li> | 
|  | <li><a href="../../../javax/xml/bind/ValidationException.html" title="class in javax.xml.bind"><span class="strong">Next Class</span></a></li> | 
|  | </ul> | 
|  | <ul class="navList"> | 
|  | <li><a href="../../../index.html?javax/xml/bind/ValidationEventLocator.html" target="_top">Frames</a></li> | 
|  | <li><a href="ValidationEventLocator.html" target="_top">No Frames</a></li> | 
|  | </ul> | 
|  | <ul class="navList" id="allclasses_navbar_bottom"> | 
|  | <li><a href="../../../allclasses-noframe.html">All Classes</a></li> | 
|  | </ul> | 
|  | <div> | 
|  | <script type="text/javascript"><!-- | 
|  | allClassesLink = document.getElementById("allclasses_navbar_bottom"); | 
|  | if(window==top) { | 
|  | allClassesLink.style.display = "block"; | 
|  | } | 
|  | else { | 
|  | allClassesLink.style.display = "none"; | 
|  | } | 
|  | //--> | 
|  | </script> | 
|  | </div> | 
|  | <div> | 
|  | <ul class="subNavList"> | 
|  | <li>Summary: </li> | 
|  | <li>Nested | </li> | 
|  | <li>Field | </li> | 
|  | <li>Constr | </li> | 
|  | <li><a href="#method_summary">Method</a></li> | 
|  | </ul> | 
|  | <ul class="subNavList"> | 
|  | <li>Detail: </li> | 
|  | <li>Field | </li> | 
|  | <li>Constr | </li> | 
|  | <li><a href="#method_detail">Method</a></li> | 
|  | </ul> | 
|  | </div> | 
|  | <a name="skip-navbar_bottom"> | 
|  | <!--   --> | 
|  | </a></div> | 
|  | <!-- ======== END OF BOTTOM NAVBAR ======= --> | 
|  | </body> | 
|  | </html> |