Home
last modified time | relevance | path

Searched refs:errorHandler (Results 1 – 13 of 13) sorted by relevance

/libcore/luni/src/main/java/org/xml/sax/helpers/
DXMLFilterImpl.java306 errorHandler = handler; in setErrorHandler()
317 return errorHandler; in getErrorHandler()
638 if (errorHandler != null) { in warning()
639 errorHandler.warning(e); in warning()
654 if (errorHandler != null) { in error()
655 errorHandler.error(e); in error()
670 if (errorHandler != null) { in fatalError()
671 errorHandler.fatalError(e); in fatalError()
718 private ErrorHandler errorHandler = null; field in XMLFilterImpl
DParserAdapter.java351 errorHandler = handler; in setErrorHandler()
363 return errorHandler; in getErrorHandler()
587 if (exceptions != null && errorHandler != null) { in startElement()
589 errorHandler.error(ex); in startElement()
721 if (errorHandler != null) { in setupParser()
722 parser.setErrorHandler(errorHandler); in setupParser()
772 if (errorHandler != null) in reportError()
773 errorHandler.error(makeException(message)); in reportError()
859 ErrorHandler errorHandler = null; field in ParserAdapter
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/xml/parsers/
DDocumentBuilderFactoryTest.java381 ValidationErrorHandler errorHandler = new ValidationErrorHandler(); in test_setCoalescingZ() local
382 parser.setErrorHandler(errorHandler); in test_setCoalescingZ()
387 parseException = errorHandler.getFirstException(); in test_setCoalescingZ()
409 ValidationErrorHandler errorHandler = new ValidationErrorHandler(); in test_setCoalescingZ() local
410 parser.setErrorHandler(errorHandler); in test_setCoalescingZ()
415 parseException = errorHandler.getFirstException(); in test_setCoalescingZ()
444 ValidationErrorHandler errorHandler = new ValidationErrorHandler(); in test_setExpandEntityReferencesZ() local
445 parser.setErrorHandler(errorHandler); in test_setExpandEntityReferencesZ()
450 parseException = errorHandler.getFirstException(); in test_setExpandEntityReferencesZ()
467 ValidationErrorHandler errorHandler = new ValidationErrorHandler(); in test_setExpandEntityReferencesZ() local
[all …]
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/
DDriver.java69 protected ErrorHandler errorHandler = new DefaultHandler();; field in Driver
265 this.errorHandler = handler; in setErrorHandler()
268 public ErrorHandler getErrorHandler() { return errorHandler; } in getErrorHandler()
287 errorHandler.fatalError(saxException); in parse()
300 errorHandler.fatalError(saxException); in parse()
313 errorHandler.fatalError(saxException); in parse()
327 errorHandler.fatalError(saxException); in parse()
334 errorHandler.fatalError(saxException); in parse()
454 errorHandler.fatalError(saxException); in parseSubTree()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/org/xml/sax/support/
DMockReader.java49 private ErrorHandler errorHandler; field in MockReader
74 return errorHandler; in getErrorHandler()
108 this.errorHandler = handler; in setErrorHandler()
/libcore/dom/src/test/java/org/w3c/domts/
DJAXPDOMTestDocumentBuilderFactory.java122 LoadErrorHandler errorHandler = new LoadErrorHandler(); in load() local
123 builder.setErrorHandler(errorHandler); in load()
127 parseException = errorHandler.getFirstException(); in load()
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/
DDocumentBuilderImpl.java55 private ErrorHandler errorHandler; field in DocumentBuilderImpl
64 errorHandler = null; in reset()
149 if (errorHandler != null) { in parse()
150 errorHandler.error(newEx); in parse()
364 errorHandler = handler; in setErrorHandler()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DDOMConfigurationImpl.java127 return config.errorHandler;
130 config.errorHandler = (DOMErrorHandler) value;
291 private DOMErrorHandler errorHandler; field in DOMConfigurationImpl
488 if (errorHandler != null) {
490 errorHandler.handleError(new DOMErrorImpl(severity, type));
/libcore/luni/src/test/java/tests/org/w3c/dom/
DDOMTestCase.java25 LoadErrorHandler errorHandler = new LoadErrorHandler(); in load() local
26 builder.setErrorHandler(errorHandler); in load()
28 parseException = errorHandler.getFirstException(); in load()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatReader.java50 /*package*/ ErrorHandler errorHandler; field in ExpatReader
198 this.errorHandler = handler; in setErrorHandler()
202 return errorHandler; in getErrorHandler()
/libcore/luni/src/main/java/javax/xml/validation/
DValidatorHandler.java237 public abstract void setErrorHandler(ErrorHandler errorHandler); in setErrorHandler() argument
DValidator.java249 public abstract void setErrorHandler(ErrorHandler errorHandler); in setErrorHandler() argument
DSchemaFactory.java439 public abstract void setErrorHandler(ErrorHandler errorHandler); in setErrorHandler() argument