validationevent.html

来自「j2ee帮助文档软件设计/软件工程 文件格式」· HTML 代码 · 共 382 行 · 第 1/2 页

HTML
382
字号
<CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../javax/xml/bind/ValidationEvent.html#getSeverity()">getSeverity</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Retrieve the severity code for this warning/error.</TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_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>Field Detail</B></FONT></TH></TR></TABLE><A NAME="WARNING"><!-- --></A><H3>WARNING</H3><PRE>static final int <B>WARNING</B></PRE><DL><DD>Conditions that are not errors or fatal errors as defined by the  XML 1.0 recommendation<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.bind.ValidationEvent.WARNING">Constant Field Values</A></DL></DL><HR><A NAME="ERROR"><!-- --></A><H3>ERROR</H3><PRE>static final int <B>ERROR</B></PRE><DL><DD>Conditions that correspond to the definition of "error" in section  1.2 of the W3C XML 1.0 Recommendation<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.bind.ValidationEvent.ERROR">Constant Field Values</A></DL></DL><HR><A NAME="FATAL_ERROR"><!-- --></A><H3>FATAL_ERROR</H3><PRE>static final int <B>FATAL_ERROR</B></PRE><DL><DD>Conditions that correspond to the definition of "fatal error" in section  1.2 of the W3C XML 1.0 Recommendation<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#javax.xml.bind.ValidationEvent.FATAL_ERROR">Constant Field Values</A></DL></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="getSeverity()"><!-- --></A><H3>getSeverity</H3><PRE>int <B>getSeverity</B>()</PRE><DL><DD>Retrieve the severity code for this warning/error.  <p> Must be one of <tt>ValidationError.WARNING</tt>,  <tt>ValidationError.ERROR</tt>, or <tt>ValidationError.FATAL_ERROR</tt>.<P><DD><DL><DT><B>Returns:</B><DD>the severity code for this warning/error</DL></DD></DL><HR><A NAME="getMessage()"><!-- --></A><H3>getMessage</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getMessage</B>()</PRE><DL><DD>Retrieve the text message for this warning/error.<P><DD><DL><DT><B>Returns:</B><DD>the text message for this warning/error or null if one wasn't set</DL></DD></DL><HR><A NAME="getLinkedException()"><!-- --></A><H3>getLinkedException</H3><PRE><A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Throwable.html" title="class or interface in java.lang">Throwable</A> <B>getLinkedException</B>()</PRE><DL><DD>Retrieve the linked exception for this warning/error.<P><DD><DL><DT><B>Returns:</B><DD>the linked exception for this warning/error or null if one         wasn't set</DL></DD></DL><HR><A NAME="getLocator()"><!-- --></A><H3>getLocator</H3><PRE><A HREF="../../../javax/xml/bind/ValidationEventLocator.html" title="interface in javax.xml.bind">ValidationEventLocator</A> <B>getLocator</B>()</PRE><DL><DD>Retrieve the locator for this warning/error.<P><DD><DL><DT><B>Returns:</B><DD>the locator that indicates where the warning/error occurred</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="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="../../../javax/xml/bind/UnmarshallerHandler.html" title="interface in javax.xml.bind"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../javax/xml/bind/ValidationEventHandler.html" title="interface in javax.xml.bind"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../index.html?javax/xml/bind/ValidationEvent.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="ValidationEvent.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><font size="-1"><a href="http://java.sun.com/webapps/bugreport">Submit a bug or feature</a> <p>Copyright 2007 Sun Microsystems, Inc. All rights reserved. Use is subject to <a href="../legal/license.html" target="_top">license terms.</a></font></BODY></HTML>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?