|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjaxe.ErrorHandler
public class ErrorHandler
The Default ErrorHandler
| Field Summary | |
|---|---|
private JaxeDocument |
doc
|
private static org.apache.log4j.Logger |
LOG
Logger for this class |
| Constructor Summary | |
|---|---|
ErrorHandler(JaxeDocument document)
|
|
| Method Summary | |
|---|---|
void |
childNotAllowed(java.lang.String expr,
JaxeElement parent,
org.w3c.dom.Element defbalise)
The childis not allowed in the Parent-Node |
void |
childNotAllowedInParentdef(org.w3c.dom.Element parentdef,
org.w3c.dom.Element defbalise)
A child was not inserted because it is not allowed in the parent-node |
void |
editNotAllowed(JaxeElement parent,
org.w3c.dom.Element defbalise)
The User tried to add an Element in an Node that is not editable |
void |
notInRootError(org.w3c.dom.Element defbalise)
The User tried to add an Element before or after the Root-Element |
void |
textNotAllowed(JaxeElement element)
It is not allowed to insert Text into this Element |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final org.apache.log4j.Logger LOG
private final JaxeDocument doc
| Constructor Detail |
|---|
public ErrorHandler(JaxeDocument document)
document - | Method Detail |
|---|
public void childNotAllowedInParentdef(org.w3c.dom.Element parentdef,
org.w3c.dom.Element defbalise)
ErrorHandlerIf
childNotAllowedInParentdef in interface ErrorHandlerIfparentdef - Parentdefbalise - Child that should have been inserted
public void childNotAllowed(java.lang.String expr,
JaxeElement parent,
org.w3c.dom.Element defbalise)
ErrorHandlerIf
childNotAllowed in interface ErrorHandlerIfexpr - Expr what is allowed in the Parent-Nodeparent - The Parentdefbalise - The child that should have been insertedpublic void notInRootError(org.w3c.dom.Element defbalise)
ErrorHandlerIf
notInRootError in interface ErrorHandlerIfdefbalise - Element the User tried to add
public void editNotAllowed(JaxeElement parent,
org.w3c.dom.Element defbalise)
ErrorHandlerIf
editNotAllowed in interface ErrorHandlerIfparent - This node was editeddefbalise - This node was not insertedpublic void textNotAllowed(JaxeElement element)
ErrorHandlerIf
textNotAllowed in interface ErrorHandlerIfelement - no Text allowed here
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||