public class JBossXSErrorHandler extends Object implements XMLErrorHandler
Constructor and Description |
---|
JBossXSErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
error(String domain,
String key,
XMLParseException xexp)
Reports an error.
|
void |
fatalError(String domain,
String key,
XMLParseException xexp)
Report a fatal error.
|
void |
warning(String domain,
String key,
XMLParseException xexp)
Reports a warning.
|
public void warning(String domain, String key, XMLParseException xexp) throws XNIException
warning
in interface XMLErrorHandler
domain
- - 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.XNIException
- Thrown to signal that the parser should stop parsing the document.public void error(String domain, String key, XMLParseException xexp) throws XNIException
error
in interface XMLErrorHandler
domain
- - 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.XNIException
- Thrown to signal that the parser should stop parsing the document.public void fatalError(String domain, String key, XMLParseException xexp) throws XNIException
fatalError
in interface XMLErrorHandler
domain
- - 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.XNIException
- Thrown to signal that the parser should stop parsing the document.Copyright © 2013 JBoss by Red Hat. All Rights Reserved.