public class StrictErrorHandler extends Object implements IParserErrorHandler
DataFormatException any time an
issue is found while parsing.IParserErrorHandler.IParseLocation| Constructor and Description |
|---|
StrictErrorHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
unexpectedRepeatingElement(IParserErrorHandler.IParseLocation theLocation,
String theElementName)
Invoked when an element repetition (e.g.
|
void |
unknownAttribute(IParserErrorHandler.IParseLocation theLocation,
String theAttributeName)
Invoked when an unknown element is found in the document.
|
void |
unknownElement(IParserErrorHandler.IParseLocation theLocation,
String theElementName)
Invoked when an unknown element is found in the document.
|
public StrictErrorHandler()
public void unknownElement(IParserErrorHandler.IParseLocation theLocation, String theElementName)
IParserErrorHandlerunknownElement in interface IParserErrorHandlertheLocation - The location in the document. WILL ALWAYS BE NULL currently, as this is not yet implemented, but this parameter is included so that locations can be added in the future without changing the API.theElementName - The name of the element that was found.public void unknownAttribute(IParserErrorHandler.IParseLocation theLocation, String theAttributeName)
IParserErrorHandlerunknownAttribute in interface IParserErrorHandlertheLocation - The location in the document. WILL ALWAYS BE NULL currently, as this is not yet implemented, but this parameter is included so that locations can be added in the future without changing the API.theAttributeName - The name of the attribute that was found.public void unexpectedRepeatingElement(IParserErrorHandler.IParseLocation theLocation, String theElementName)
IParserErrorHandlerunexpectedRepeatingElement in interface IParserErrorHandlertheLocation - The location in the document. WILL ALWAYS BE NULL currently, as this is not yet implemented, but this parameter is included so that locations can be added in the future without changing the API.theElementName - The name of the element that was found.Copyright © 2014–2016 University Health Network. All rights reserved.