|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents an error that might be found in an W3C XML Schema. Creation date: (3/27/2001 4:16:19 PM)
Field Summary | |
---|---|
static int |
CONSTRAINT_ON_SCHEMA
error type constant |
static java.lang.String |
copyright
|
static int |
ERROR
error severity constant |
static int |
FATAL_ERROR
error severity constant |
static int |
WARNING
error severity constant |
static int |
WELLFORMNESS
error type constant |
static int |
XML_SCHEMA_REPRESENTATION
error type constant |
Method Summary | |
---|---|
int |
getErrorType()
returns the type of this error. |
java.lang.Exception[] |
getExceptions()
returns the list of exceptions which encapsulate detailed information on the nature of this Error |
org.xml.sax.Locator |
getLocator()
returns an org.xml.sax.Locator Object which encapsulates information on the location of this error ( line, column and file name) . |
java.lang.String |
getMessage()
returns the error message |
int |
getSeverity()
returns an integer indicating the severity of this error. |
Field Detail |
public static final java.lang.String copyright
public static final int WARNING
public static final int ERROR
public static final int FATAL_ERROR
public static final int WELLFORMNESS
public static final int XML_SCHEMA_REPRESENTATION
public static final int CONSTRAINT_ON_SCHEMA
Method Detail |
public int getErrorType()
The type of an error is one of the following constant defined in IError interface:
1/ WELLFORMNESS : an error occured because the XML representation of a Schema is not wellformed.
2/ XML_SCHEMA_REPRESENTATION : an error occured because the XML represenation is not valid against DTD for Schema and/or against other constraints on the way an XML Schema should be represented as XML document.
3/ CONSTRAINT_ON_SCHEMA : an error occured because at least one constraint on schema component is not valid .
public org.xml.sax.Locator getLocator()
public java.lang.String getMessage()
public int getSeverity()
public java.lang.Exception[] getExceptions()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |