|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.document.schema.impl.del.DelNodesComputer
public final class DelNodesComputer
Serves for various valid node removal checking.
| Constructor Summary | |
|---|---|
DelNodesComputer(SchemaImpl schema)
Constructor. |
|
| Method Summary | |
|---|---|
List<Element> |
areNodesDeletable(com.sun.msv.grammar.ElementExp exp,
Element e,
Set<? extends Node> nodes)
Detects if all nodes from the given set are deletable from given element. |
boolean |
isDeletable(Element e,
com.sun.msv.grammar.ElementExp exp,
sk.baka.ikslibs.ptr.DOMPoint start,
sk.baka.ikslibs.ptr.DOMPoint end)
Checks if given interval is removable from the document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DelNodesComputer(SchemaImpl schema)
schema - the schema instance.| Method Detail |
|---|
public List<Element> areNodesDeletable(com.sun.msv.grammar.ElementExp exp,
Element e,
Set<? extends Node> nodes)
exp - the expression for the element.e - we want to delete elements from this elementnodes - delete all these nodes.
null if the nodes are not deletable, otherwise a
list of elements that must be deleted aswell.
DocumentValidityException - if the document isn't valid.
public boolean isDeletable(Element e,
com.sun.msv.grammar.ElementExp exp,
sk.baka.ikslibs.ptr.DOMPoint start,
sk.baka.ikslibs.ptr.DOMPoint end)
e - the parent elementexp - the expression for this elementstart - the start of the intervalend - the end of the interval
true if these nodes are removable,
false otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||