| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
|
| <!--NewPage-->
|
| <HTML>
|
| <HEAD>
|
| <!-- Generated by javadoc on Thu Nov 22 17:12:59 EST 2007 -->
|
| <TITLE>
|
| Xalan-Java 2.7.1: Interface DOMError
|
| </TITLE>
|
| <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
|
| </HEAD>
|
| <BODY BGCOLOR="white">
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_top"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_top_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <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="class-use/DOMError.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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/w3c/dom/DOMConfiguration.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../org/w3c/dom/DOMErrorHandler.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="DOMError.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| <!-- ======== START OF CLASS DATA ======== -->
|
| <H2>
|
| <FONT SIZE="-1">
|
| org.w3c.dom</FONT>
|
| <BR>
|
| Interface DOMError</H2>
|
| <HR>
|
| <DL>
|
| <DT>public interface <B>DOMError</B></DL>
|
|
|
| <P>
|
| <code>DOMError</code> is an interface that describes an error. |
| <p>See also the <a href='http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407'>Document Object Model (DOM) Level 3 Core Specification</a>.
|
| <P>
|
| <DL>
|
| <DT><B>Since: </B><DD>DOM Level 3</DD>
|
| </DL>
|
| <HR>
|
|
|
| <P>
|
| <!-- ======== INNER CLASS SUMMARY ======== -->
|
|
|
|
|
| <!-- =========== FIELD SUMMARY =========== -->
|
|
|
| <A NAME="field_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Field Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE>static short</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/w3c/dom/DOMError.html#SEVERITY_ERROR">SEVERITY_ERROR</A></B></CODE>
|
|
|
| <BR>
|
| The severity of the error described by the <code>DOMError</code> is |
| error.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE>static short</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/w3c/dom/DOMError.html#SEVERITY_FATAL_ERROR">SEVERITY_FATAL_ERROR</A></B></CODE>
|
|
|
| <BR>
|
| The severity of the error described by the <code>DOMError</code> is |
| fatal error.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE>static short</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/w3c/dom/DOMError.html#SEVERITY_WARNING">SEVERITY_WARNING</A></B></CODE>
|
|
|
| <BR>
|
| The severity of the error described by the <code>DOMError</code> is |
| warning.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
|
| <!-- ========== METHOD SUMMARY =========== -->
|
|
|
| <A NAME="method_summary"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=2><FONT SIZE="+2">
|
| <B>Method Summary</B></FONT></TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> <A HREF="../../../org/w3c/dom/DOMLocator.html">DOMLocator</A></CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/w3c/dom/DOMError.html#getLocation()">getLocation</A></B>()</CODE>
|
|
|
| <BR>
|
| The location of the error.</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/w3c/dom/DOMError.html#getMessage()">getMessage</A></B>()</CODE>
|
|
|
| <BR>
|
| An implementation specific string describing the error that occurred.</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/w3c/dom/DOMError.html#getRelatedData()">getRelatedData</A></B>()</CODE>
|
|
|
| <BR>
|
| The related <code>DOMError.type</code> dependent data if any.</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/w3c/dom/DOMError.html#getRelatedException()">getRelatedException</A></B>()</CODE>
|
|
|
| <BR>
|
| The related platform dependent exception if any.</TD>
|
| </TR>
|
| <TR BGCOLOR="white" CLASS="TableRowColor">
|
| <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
| <CODE> short</CODE></FONT></TD>
|
| <TD><CODE><B><A HREF="../../../org/w3c/dom/DOMError.html#getSeverity()">getSeverity</A></B>()</CODE>
|
|
|
| <BR>
|
| The severity of the error, either <code>SEVERITY_WARNING</code>, |
| <code>SEVERITY_ERROR</code>, or <code>SEVERITY_FATAL_ERROR</code>.</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/w3c/dom/DOMError.html#getType()">getType</A></B>()</CODE>
|
|
|
| <BR>
|
| A <code>DOMString</code> indicating which related data is expected in |
| <code>relatedData</code>.</TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <P>
|
|
|
| <!-- ============ FIELD DETAIL =========== -->
|
|
|
| <A NAME="field_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Field Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="SEVERITY_WARNING"><!-- --></A><H3>
|
| SEVERITY_WARNING</H3>
|
| <PRE>
|
| public static final short <B>SEVERITY_WARNING</B></PRE>
|
| <DL>
|
| <DD>The severity of the error described by the <code>DOMError</code> is |
| warning. A <code>SEVERITY_WARNING</code> will not cause the |
| processing to stop, unless <code>DOMErrorHandler.handleError()</code> |
| returns <code>false</code>.</DL>
|
| <HR>
|
|
|
| <A NAME="SEVERITY_ERROR"><!-- --></A><H3>
|
| SEVERITY_ERROR</H3>
|
| <PRE>
|
| public static final short <B>SEVERITY_ERROR</B></PRE>
|
| <DL>
|
| <DD>The severity of the error described by the <code>DOMError</code> is |
| error. A <code>SEVERITY_ERROR</code> may not cause the processing to |
| stop if the error can be recovered, unless |
| <code>DOMErrorHandler.handleError()</code> returns <code>false</code>.</DL>
|
| <HR>
|
|
|
| <A NAME="SEVERITY_FATAL_ERROR"><!-- --></A><H3>
|
| SEVERITY_FATAL_ERROR</H3>
|
| <PRE>
|
| public static final short <B>SEVERITY_FATAL_ERROR</B></PRE>
|
| <DL>
|
| <DD>The severity of the error described by the <code>DOMError</code> is |
| fatal error. A <code>SEVERITY_FATAL_ERROR</code> will cause the |
| normal processing to stop. The return value of |
| <code>DOMErrorHandler.handleError()</code> is ignored unless the |
| implementation chooses to continue, in which case the behavior |
| becomes undefined.</DL>
|
|
|
| <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
|
| <!-- ============ METHOD DETAIL ========== -->
|
|
|
| <A NAME="method_detail"><!-- --></A> |
| <TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
|
| <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
| <TD COLSPAN=1><FONT SIZE="+2">
|
| <B>Method Detail</B></FONT></TD>
|
| </TR>
|
| </TABLE>
|
|
|
| <A NAME="getSeverity()"><!-- --></A><H3>
|
| getSeverity</H3>
|
| <PRE>
|
| public short <B>getSeverity</B>()</PRE>
|
| <DL>
|
| <DD>The severity of the error, either <code>SEVERITY_WARNING</code>, |
| <code>SEVERITY_ERROR</code>, or <code>SEVERITY_FATAL_ERROR</code>.</DL>
|
| <HR>
|
|
|
| <A NAME="getMessage()"><!-- --></A><H3>
|
| getMessage</H3>
|
| <PRE>
|
| public java.lang.String <B>getMessage</B>()</PRE>
|
| <DL>
|
| <DD>An implementation specific string describing the error that occurred.</DL>
|
| <HR>
|
|
|
| <A NAME="getType()"><!-- --></A><H3>
|
| getType</H3>
|
| <PRE>
|
| public java.lang.String <B>getType</B>()</PRE>
|
| <DL>
|
| <DD>A <code>DOMString</code> indicating which related data is expected in |
| <code>relatedData</code>. Users should refer to the specification of |
| the error in order to find its <code>DOMString</code> type and |
| <code>relatedData</code> definitions if any. |
| <p ><b>Note:</b> As an example, |
| <code>Document.normalizeDocument()</code> does generate warnings when |
| the "split-cdata-sections" parameter is in use. Therefore, the method |
| generates a <code>SEVERITY_WARNING</code> with <code>type</code> |
| <code>"cdata-sections-splitted"</code> and the first |
| <code>CDATASection</code> node in document order resulting from the |
| split is returned by the <code>relatedData</code> attribute.</DL>
|
| <HR>
|
|
|
| <A NAME="getRelatedException()"><!-- --></A><H3>
|
| getRelatedException</H3>
|
| <PRE>
|
| public java.lang.Object <B>getRelatedException</B>()</PRE>
|
| <DL>
|
| <DD>The related platform dependent exception if any.</DL>
|
| <HR>
|
|
|
| <A NAME="getRelatedData()"><!-- --></A><H3>
|
| getRelatedData</H3>
|
| <PRE>
|
| public java.lang.Object <B>getRelatedData</B>()</PRE>
|
| <DL>
|
| <DD>The related <code>DOMError.type</code> dependent data if any.</DL>
|
| <HR>
|
|
|
| <A NAME="getLocation()"><!-- --></A><H3>
|
| getLocation</H3>
|
| <PRE>
|
| public <A HREF="../../../org/w3c/dom/DOMLocator.html">DOMLocator</A> <B>getLocation</B>()</PRE>
|
| <DL>
|
| <DD>The location of the error.</DL>
|
| <!-- ========= END OF CLASS DATA ========= -->
|
| <HR>
|
|
|
| <!-- ========== START OF NAVBAR ========== -->
|
| <A NAME="navbar_bottom"><!-- --></A> |
| <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
|
| <TR>
|
| <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
| <A NAME="navbar_bottom_firstrow"><!-- --></A> |
| <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
|
| <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="class-use/DOMError.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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/w3c/dom/DOMConfiguration.html"><B>PREV CLASS</B></A>
|
| <A HREF="../../../org/w3c/dom/DOMErrorHandler.html"><B>NEXT CLASS</B></A></FONT></TD>
|
| <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
| <A HREF="../../../index.html" TARGET="_top"><B>FRAMES</B></A>
|
| <A HREF="DOMError.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
|
| </TR>
|
| <TR>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| SUMMARY: INNER | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
| <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
| DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
| </TR>
|
| </TABLE>
|
| <!-- =========== END OF NAVBAR =========== -->
|
|
|
| <HR>
|
| Copyright © 2006 Apache XML Project. All Rights Reserved.
|
| </BODY>
|
| </HTML>
|