|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.parsing.StrictElementHandler
public class StrictElementHandler
A helper class for UnmarshalHandler.
Keeps track if elements, which appear in XML but for which there is no
mapping, should be allowed.
| Constructor Summary | |
|---|---|
StrictElementHandler()
|
|
| Method Summary | |
|---|---|
boolean |
areElementsIgnorable()
Checks if extra elements will be ignored. |
void |
setIgnoreExtraElements(boolean ignoreExtraElems)
Sets whether or not elements that do not match a specific field should simply be ignored or reported as an error. |
boolean |
skipElement()
Skip element that appear in XML but for which we have no mapping |
boolean |
skipEndElement()
Checks if an end element can be skipped. |
boolean |
skipStartElement()
Checks if a start element can be skipped |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StrictElementHandler()
| Method Detail |
|---|
public void setIgnoreExtraElements(boolean ignoreExtraElems)
ignoreExtraElems - a boolean that when true will allow non-matched attributes to
simply be ignored.public boolean areElementsIgnorable()
public boolean skipElement()
public boolean skipStartElement()
public boolean skipEndElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||