|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.japisoft.xmlpad.XMLIntegrity
This class is used inside the XMLContainer for avoiding user to corrupt the current XML document. For instance, you can disable tag update or force a parsing before saving
| Constructor Summary | |
XMLIntegrity()
|
|
| Method Summary | |
boolean |
isParseBeforeSaving()
|
boolean |
isProtectTag()
A protection mean user can't edit it |
void |
setParseBeforeSaving(boolean b)
Decide to parse the document before saving. |
void |
setProtectTag(boolean b)
If true, it protects all tag from user insert or remove |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public XMLIntegrity()
| Method Detail |
public boolean isParseBeforeSaving()
public void setParseBeforeSaving(boolean b)
b - public boolean isProtectTag()
public void setProtectTag(boolean b)
b - true to protect all tag.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||