public class JBossXSErrorHandler extends Object implements org.apache.xerces.xni.parser.XMLErrorHandler
| Constructor and Description |
|---|
JBossXSErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
error(String domain,
String key,
org.apache.xerces.xni.parser.XMLParseException xexp)
Reports an error.
|
void |
fatalError(String domain,
String key,
org.apache.xerces.xni.parser.XMLParseException xexp)
Report a fatal error.
|
void |
warning(String domain,
String key,
org.apache.xerces.xni.parser.XMLParseException xexp)
Reports a warning.
|
public void warning(String domain, String key, org.apache.xerces.xni.parser.XMLParseException xexp) throws org.apache.xerces.xni.XNIException
warning in interface org.apache.xerces.xni.parser.XMLErrorHandlerdomain - - The domain of the warning. The domain can be any string but is suggested to be a valid URI. The domain can be used to conveniently specify a web site location of the relevent specification or document pertaining to this warning.key - - The warning key. This key can be any string and is implementation dependent.exception - - Exception.org.apache.xerces.xni.XNIException - Thrown to signal that the parser should stop parsing the document.public void error(String domain, String key, org.apache.xerces.xni.parser.XMLParseException xexp) throws org.apache.xerces.xni.XNIException
error in interface org.apache.xerces.xni.parser.XMLErrorHandlerdomain - - The domain of the warning. The domain can be any string but is suggested to be a valid URI. The domain can be used to conveniently specify a web site location of the relevent specification or document pertaining to this warning.key - - The warning key. This key can be any string and is implementation dependent.exception - - Exception.org.apache.xerces.xni.XNIException - Thrown to signal that the parser should stop parsing the document.public void fatalError(String domain, String key, org.apache.xerces.xni.parser.XMLParseException xexp) throws org.apache.xerces.xni.XNIException
fatalError in interface org.apache.xerces.xni.parser.XMLErrorHandlerdomain - - The domain of the warning. The domain can be any string but is suggested to be a valid URI. The domain can be used to conveniently specify a web site location of the relevent specification or document pertaining to this warning.key - - The warning key. This key can be any string and is implementation dependent.exception - - Exception.org.apache.xerces.xni.XNIException - Thrown to signal that the parser should stop parsing the document.Copyright © 2012 JBoss, by Red Hat. All Rights Reserved.