|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.document.schema.impl.modify.EncloseDecloseElements
public final class EncloseDecloseElements
Provides the enclose/declose functionality.
| Constructor Summary | |
|---|---|
EncloseDecloseElements(SchemaImpl schema)
Constructor. |
|
| Method Summary | |
|---|---|
INameListP<INewElementRuleP> |
getEnclosingElements(Element parent,
sk.baka.ikslibs.ptr.DOMPoint start,
sk.baka.ikslibs.ptr.DOMPoint end,
com.sun.msv.grammar.ElementExp exp)
Checks whether selected content is enclosable. |
boolean |
isDeclosable(Element e,
com.sun.msv.grammar.ElementExp exp)
Checks if given element is declosable - if the contents of given element can replace the element. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EncloseDecloseElements(SchemaImpl schema)
schema - schema object instance.| Method Detail |
|---|
public INameListP<INewElementRuleP> getEnclosingElements(Element parent,
sk.baka.ikslibs.ptr.DOMPoint start,
sk.baka.ikslibs.ptr.DOMPoint end,
com.sun.msv.grammar.ElementExp exp)
parent - the parent elementstart - start of the node interval.end - end of the node intervalexp - expression for parent
DocumentValidityException - if the document is not valid
public boolean isDeclosable(Element e,
com.sun.msv.grammar.ElementExp exp)
e - the element to decloseexp - examine this expression
true if e is declosable, false
otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||