public class DefaultSchema extends Schema
Constructor and Description |
---|
DefaultSchema(TreeLogger logger) |
Modifier and Type | Method and Description |
---|---|
void |
onBadAttributeValue(int line,
String elem,
String attr,
String value,
Class<?> paramType) |
void |
onHandlerException(int line,
String elem,
Method method,
Throwable e) |
void |
onMissingAttribute(int line,
String elem,
String attr) |
void |
onUnexpectedAttribute(int line,
String elem,
String attr,
String value) |
void |
onUnexpectedChild(int line,
String childElem) |
void |
onUnexpectedElement(int line,
String elem) |
getAttributeConverter, getLineNumber, registerAttributeConverter, setLineNumber, setParent
public DefaultSchema(TreeLogger logger)
public void onBadAttributeValue(int line, String elem, String attr, String value, Class<?> paramType) throws UnableToCompleteException
onBadAttributeValue
in class Schema
UnableToCompleteException
public void onHandlerException(int line, String elem, Method method, Throwable e) throws UnableToCompleteException
onHandlerException
in class Schema
UnableToCompleteException
public void onMissingAttribute(int line, String elem, String attr) throws UnableToCompleteException
onMissingAttribute
in class Schema
UnableToCompleteException
public void onUnexpectedAttribute(int line, String elem, String attr, String value) throws UnableToCompleteException
onUnexpectedAttribute
in class Schema
UnableToCompleteException
public void onUnexpectedChild(int line, String childElem) throws UnableToCompleteException
onUnexpectedChild
in class Schema
UnableToCompleteException
public void onUnexpectedElement(int line, String elem) throws UnableToCompleteException
onUnexpectedElement
in class Schema
UnableToCompleteException
Copyright © 2018. All rights reserved.