
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, setParentpublic DefaultSchema(TreeLogger logger)
public void onBadAttributeValue(int line,
String elem,
String attr,
String value,
Class<?> paramType)
throws UnableToCompleteException
onBadAttributeValue in class SchemaUnableToCompleteExceptionpublic void onHandlerException(int line,
String elem,
Method method,
Throwable e)
throws UnableToCompleteException
onHandlerException in class SchemaUnableToCompleteExceptionpublic void onMissingAttribute(int line,
String elem,
String attr)
throws UnableToCompleteException
onMissingAttribute in class SchemaUnableToCompleteExceptionpublic void onUnexpectedAttribute(int line,
String elem,
String attr,
String value)
throws UnableToCompleteException
onUnexpectedAttribute in class SchemaUnableToCompleteExceptionpublic void onUnexpectedChild(int line,
String childElem)
throws UnableToCompleteException
onUnexpectedChild in class SchemaUnableToCompleteExceptionpublic void onUnexpectedElement(int line,
String elem)
throws UnableToCompleteException
onUnexpectedElement in class SchemaUnableToCompleteExceptionCopyright © 2018. All rights reserved.