| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <title>Validator</title> |
| <link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../script.js"></script> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="Validator"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":38,"i1":38,"i2":38,"i3":38,"i4":38,"i5":38}; |
| var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <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> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../jakarta/xml/bind/ValidationException.html" title="class in jakarta.xml.bind"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?jakarta/xml/bind/Validator.html" target="_top">Frames</a></li> |
| <li><a href="Validator.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">jakarta.xml.bind</div> |
| <h2 title="Interface Validator" class="title">Interface Validator</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since JAXB 2.0</span></div> |
| </div> |
| <br> |
| <pre>public interface <span class="typeNameLabel">Validator</span></pre> |
| <div class="block">As of JAXB 2.0, this class is deprecated and optional. |
| <p> |
| The <code>Validator</code> class is responsible for controlling the validation |
| of content trees during runtime. |
| |
| <p> |
| <a id="validationtypes"></a> |
| <b>Three Forms of Validation</b><br> |
| <blockquote> |
| <dl> |
| <dt><b>Unmarshal-Time Validation</b></dt> |
| <dd>This form of validation enables a client application to receive |
| information about validation errors and warnings detected while |
| unmarshalling XML data into a Java content tree and is completely |
| orthogonal to the other types of validation. To enable or disable |
| it, see the javadoc for |
| <a href="../../../jakarta/xml/bind/Unmarshaller.html#setValidating-boolean-"><code>Unmarshaller.setValidating</code></a>. |
| All JAXB 1.0 Providers are required to support this operation. |
| </dd> |
| |
| <dt><b>On-Demand Validation</b></dt> |
| <dd> This form of validation enables a client application to receive |
| information about validation errors and warnings detected in the |
| Java content tree. At any point, client applications can call |
| the <a href="../../../jakarta/xml/bind/Validator.html#validate-java.lang.Object-"><code>Validator.validate</code></a> method |
| on the Java content tree (or any sub-tree of it). All JAXB 1.0 |
| Providers are required to support this operation. |
| </dd> |
| |
| <dt><b>Fail-Fast Validation</b></dt> |
| <dd> This form of validation enables a client application to receive |
| immediate feedback about modifications to the Java content tree |
| that violate type constraints on Java Properties as defined in |
| the specification. JAXB Providers are not required support |
| this type of validation. Of the JAXB Providers that do support |
| this type of validation, some may require you to decide at schema |
| compile time whether or not a client application will be allowed |
| to request fail-fast validation at runtime. |
| </dd> |
| </dl> |
| </blockquote> |
| |
| <p> |
| The <code>Validator</code> class is responsible for managing On-Demand Validation. |
| The <code>Unmarshaller</code> class is responsible for managing Unmarshal-Time |
| Validation during the unmarshal operations. Although there is no formal |
| method of enabling validation during the marshal operations, the |
| <code>Marshaller</code> may detect errors, which will be reported to the |
| <code>ValidationEventHandler</code> registered on it. |
| |
| <p> |
| <a id="defaulthandler"></a> |
| <b>Using the Default EventHandler</b><br> |
| <blockquote> |
| If the client application does not set an event handler on their |
| <code>Validator</code>, <code>Unmarshaller</code>, or <code>Marshaller</code> prior to |
| calling the validate, unmarshal, or marshal methods, then a default event |
| handler will receive notification of any errors or warnings encountered. |
| The default event handler will cause the current operation to halt after |
| encountering the first error or fatal error (but will attempt to continue |
| after receiving warnings). |
| </blockquote> |
| |
| <p> |
| <a id="handlingevents"></a> |
| <b>Handling Validation Events</b><br> |
| <blockquote> |
| There are three ways to handle events encountered during the unmarshal, |
| validate, and marshal operations: |
| <dl> |
| <dt>Use the default event handler</dt> |
| <dd>The default event handler will be used if you do not specify one |
| via the <code>setEventHandler</code> API's on <code>Validator</code>, |
| <code>Unmarshaller</code>, or <code>Marshaller</code>. |
| </dd> |
| |
| <dt>Implement and register a custom event handler</dt> |
| <dd>Client applications that require sophisticated event processing |
| can implement the <code>ValidationEventHandler</code> interface and |
| register it with the <code>Unmarshaller</code> and/or |
| <code>Validator</code>. |
| </dd> |
| |
| <dt>Use the <a href="../../../jakarta/xml/bind/util/ValidationEventCollector.html" title="class in jakarta.xml.bind.util"><code>ValidationEventCollector</code></a> |
| utility</dt> |
| <dd>For convenience, a specialized event handler is provided that |
| simply collects any <code>ValidationEvent</code> objects created |
| during the unmarshal, validate, and marshal operations and |
| returns them to the client application as a |
| <code>java.util.Collection</code>. |
| </dd> |
| </dl> |
| </blockquote> |
| |
| <p> |
| <b>Validation and Well-Formedness</b><br> |
| <blockquote> |
| <p> |
| Validation events are handled differently depending on how the client |
| application is configured to process them as described in the previous |
| section. However, there are certain cases where a JAXB Provider indicates |
| that it is no longer able to reliably detect and report errors. In these |
| cases, the JAXB Provider will set the severity of the ValidationEvent to |
| FATAL_ERROR to indicate that the unmarshal, validate, or marshal operations |
| should be terminated. The default event handler and |
| <code>ValidationEventCollector</code> utility class must terminate processing |
| after being notified of a fatal error. Client applications that supply their |
| own <code>ValidationEventHandler</code> should also terminate processing after |
| being notified of a fatal error. If not, unexpected behaviour may occur. |
| </blockquote> |
| |
| <p> |
| <a id="supportedProps"></a> |
| <b>Supported Properties</b><br> |
| <blockquote> |
| <p> |
| There currently are not any properties required to be supported by all |
| JAXB Providers on Validator. However, some providers may support |
| their own set of provider specific properties. |
| </blockquote></div> |
| <dl> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.6, JAXB 1.0</dd> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../jakarta/xml/bind/JAXBContext.html" title="class in jakarta.xml.bind"><code>JAXBContext</code></a>, |
| <a href="../../../jakarta/xml/bind/Unmarshaller.html" title="interface in jakarta.xml.bind"><code>Unmarshaller</code></a>, |
| <a href="../../../jakarta/xml/bind/ValidationEventHandler.html" title="interface in jakarta.xml.bind"><code>ValidationEventHandler</code></a>, |
| <a href="../../../jakarta/xml/bind/ValidationEvent.html" title="interface in jakarta.xml.bind"><code>ValidationEvent</code></a>, |
| <a href="../../../jakarta/xml/bind/util/ValidationEventCollector.html" title="class in jakarta.xml.bind.util"><code>ValidationEventCollector</code></a></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="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../jakarta/xml/bind/ValidationEventHandler.html" title="interface in jakarta.xml.bind">ValidationEventHandler</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../jakarta/xml/bind/Validator.html#getEventHandler--">getEventHandler</a></span>()</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since JAXB2.0</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code>java.lang.Object</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../jakarta/xml/bind/Validator.html#getProperty-java.lang.String-">getProperty</a></span>(java.lang.String name)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since JAXB2.0</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../jakarta/xml/bind/Validator.html#setEventHandler-jakarta.xml.bind.ValidationEventHandler-">setEventHandler</a></span>(<a href="../../../jakarta/xml/bind/ValidationEventHandler.html" title="interface in jakarta.xml.bind">ValidationEventHandler</a> handler)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since JAXB2.0</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../jakarta/xml/bind/Validator.html#setProperty-java.lang.String-java.lang.Object-">setProperty</a></span>(java.lang.String name, |
| java.lang.Object value)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since JAXB2.0</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../jakarta/xml/bind/Validator.html#validate-java.lang.Object-">validate</a></span>(java.lang.Object subrootObj)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since JAXB2.0</span></div> |
| </div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../jakarta/xml/bind/Validator.html#validateRoot-java.lang.Object-">validateRoot</a></span>(java.lang.Object rootObj)</code> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> |
| <div class="block"><span class="deprecationComment">since JAXB2.0</span></div> |
| </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="setEventHandler-jakarta.xml.bind.ValidationEventHandler-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setEventHandler</h4> |
| <pre>void setEventHandler(<a href="../../../jakarta/xml/bind/ValidationEventHandler.html" title="interface in jakarta.xml.bind">ValidationEventHandler</a> handler) |
| throws <a href="../../../jakarta/xml/bind/JAXBException.html" title="class in jakarta.xml.bind">JAXBException</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since JAXB2.0</span></div> |
| <div class="block">Allow an application to register a validation event handler. |
| <p> |
| The validation event handler will be called by the JAXB Provider if any |
| validation errors are encountered during calls to |
| <a href="../../../jakarta/xml/bind/Validator.html#validate-java.lang.Object-"><code>validate</code></a>. If the client application does not |
| register a validation event handler before invoking the validate method, |
| then validation events will be handled by the default event handler which |
| will terminate the validate operation after the first error or fatal error |
| is encountered. |
| <p> |
| Calling this method with a null parameter will cause the Validator |
| to revert back to the default default event handler.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>handler</code> - the validation event handler</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../jakarta/xml/bind/JAXBException.html" title="class in jakarta.xml.bind">JAXBException</a></code> - if an error was encountered while setting the |
| event handler</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getEventHandler--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getEventHandler</h4> |
| <pre><a href="../../../jakarta/xml/bind/ValidationEventHandler.html" title="interface in jakarta.xml.bind">ValidationEventHandler</a> getEventHandler() |
| throws <a href="../../../jakarta/xml/bind/JAXBException.html" title="class in jakarta.xml.bind">JAXBException</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since JAXB2.0</span></div> |
| <div class="block">Return the current event handler or the default event handler if one |
| hasn't been set.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the current ValidationEventHandler or the default event handler |
| if it hasn't been set</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../jakarta/xml/bind/JAXBException.html" title="class in jakarta.xml.bind">JAXBException</a></code> - if an error was encountered while getting the |
| current event handler</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="validate-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>validate</h4> |
| <pre>boolean validate(java.lang.Object subrootObj) |
| throws <a href="../../../jakarta/xml/bind/JAXBException.html" title="class in jakarta.xml.bind">JAXBException</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since JAXB2.0</span></div> |
| <div class="block">Validate the Java content tree starting at <code>subrootObj</code>. |
| <p> |
| Client applications can use this method to validate Java content trees |
| on-demand at runtime. This method can be used to validate any arbitrary |
| subtree of the Java content tree. Global constraint checking <b>will not |
| </b> be performed as part of this operation (i.e. ID/IDREF constraints).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>subrootObj</code> - the obj to begin validation at</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the subtree rooted at <code>subrootObj</code> is valid, false |
| otherwise</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../jakarta/xml/bind/JAXBException.html" title="class in jakarta.xml.bind">JAXBException</a></code> - if any unexpected problem occurs during validation</dd> |
| <dd><code><a href="../../../jakarta/xml/bind/ValidationException.html" title="class in jakarta.xml.bind">ValidationException</a></code> - If the <a href="../../../jakarta/xml/bind/ValidationEventHandler.html" title="interface in jakarta.xml.bind"><code>ValidationEventHandler</code></a> |
| returns false from its <code>handleEvent</code> method or the |
| <code>Validator</code> is unable to validate the content tree rooted |
| at <code>subrootObj</code></dd> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the subrootObj parameter is null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="validateRoot-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>validateRoot</h4> |
| <pre>boolean validateRoot(java.lang.Object rootObj) |
| throws <a href="../../../jakarta/xml/bind/JAXBException.html" title="class in jakarta.xml.bind">JAXBException</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since JAXB2.0</span></div> |
| <div class="block">Validate the Java content tree rooted at <code>rootObj</code>. |
| <p> |
| Client applications can use this method to validate Java content trees |
| on-demand at runtime. This method is used to validate an entire Java |
| content tree. Global constraint checking <b>will</b> be performed as |
| part of this operation (i.e. ID/IDREF constraints).</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>rootObj</code> - the root obj to begin validation at</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>true if the tree rooted at <code>rootObj</code> is valid, false |
| otherwise</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../jakarta/xml/bind/JAXBException.html" title="class in jakarta.xml.bind">JAXBException</a></code> - if any unexpected problem occurs during validation</dd> |
| <dd><code><a href="../../../jakarta/xml/bind/ValidationException.html" title="class in jakarta.xml.bind">ValidationException</a></code> - If the <a href="../../../jakarta/xml/bind/ValidationEventHandler.html" title="interface in jakarta.xml.bind"><code>ValidationEventHandler</code></a> |
| returns false from its <code>handleEvent</code> method or the |
| <code>Validator</code> is unable to validate the content tree rooted |
| at <code>rootObj</code></dd> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the rootObj parameter is null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="setProperty-java.lang.String-java.lang.Object-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>setProperty</h4> |
| <pre>void setProperty(java.lang.String name, |
| java.lang.Object value) |
| throws <a href="../../../jakarta/xml/bind/PropertyException.html" title="class in jakarta.xml.bind">PropertyException</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since JAXB2.0</span></div> |
| <div class="block">Set the particular property in the underlying implementation of |
| <code>Validator</code>. This method can only be used to set one of |
| the standard JAXB defined properties above or a provider specific |
| property. Attempting to set an undefined property will result in |
| a PropertyException being thrown. See <a href="#supportedProps"> |
| Supported Properties</a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the property to be set. This value can either |
| be specified using one of the constant fields or a user |
| supplied string.</dd> |
| <dd><code>value</code> - the value of the property to be set</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../jakarta/xml/bind/PropertyException.html" title="class in jakarta.xml.bind">PropertyException</a></code> - when there is an error processing the given |
| property or value</dd> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the name parameter is null</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getProperty-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getProperty</h4> |
| <pre>java.lang.Object getProperty(java.lang.String name) |
| throws <a href="../../../jakarta/xml/bind/PropertyException.html" title="class in jakarta.xml.bind">PropertyException</a></pre> |
| <div class="block"><span class="deprecatedLabel">Deprecated.</span> <span class="deprecationComment">since JAXB2.0</span></div> |
| <div class="block">Get the particular property in the underlying implementation of |
| <code>Validator</code>. This method can only be used to get one of |
| the standard JAXB defined properties above or a provider specific |
| property. Attempting to get an undefined property will result in |
| a PropertyException being thrown. See <a href="#supportedProps"> |
| Supported Properties</a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the property to retrieve</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the value of the requested property</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code><a href="../../../jakarta/xml/bind/PropertyException.html" title="class in jakarta.xml.bind">PropertyException</a></code> - when there is an error retrieving the given property or value |
| property name</dd> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the name parameter is null</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> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <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> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../jakarta/xml/bind/ValidationException.html" title="class in jakarta.xml.bind"><span class="typeNameLink">Prev Class</span></a></li> |
| <li>Next Class</li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../index.html?jakarta/xml/bind/Validator.html" target="_top">Frames</a></li> |
| <li><a href="Validator.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> |