|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.editor.wizards.document.NameListChooserFactories
public class NameListChooserFactories
Creates various content factories.
Field Summary | |
---|---|
XMLAccess |
xmlAccess
Provide name lists for this document. |
Constructor Summary | |
---|---|
NameListChooserFactories(XMLAccess xmlAccess)
Creates instance of object. |
Method Summary | |
---|---|
INameListItemChooserFactory<NewElementRule> |
encloseNodes(sk.baka.ikslibs.ptr.DomPointer start,
sk.baka.ikslibs.ptr.DomPointer end)
Returns factory producing components able to select element name, that may enclose given content. |
INameListItemChooserFactory<AttributeRule> |
insertNewAttribute(Element e)
Creates list of attribute names that are insertable into given element. |
INameListItemChooserFactory<AttributeRule> |
modifyAttribute(Attr attr)
Creates factory producing component that modifies existing attribute name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public final XMLAccess xmlAccess
Constructor Detail |
---|
public NameListChooserFactories(XMLAccess xmlAccess)
xmlAccess
- provide name lists for this document.Method Detail |
---|
public INameListItemChooserFactory<AttributeRule> insertNewAttribute(Element e)
e
- the element where to insert new attribute.
null
if no
attribute is insertable.public INameListItemChooserFactory<AttributeRule> modifyAttribute(Attr attr)
attr
- the attribute whose value has to be modified.
public INameListItemChooserFactory<NewElementRule> encloseNodes(sk.baka.ikslibs.ptr.DomPointer start, sk.baka.ikslibs.ptr.DomPointer end)
NullPointerException
.
start
- start of the interval. Must point before the
end
parameter.end
- end of the interval to enclose.
null
if no elements are
suitable for enclosing operation.
IllegalArgumentException
- if end points before start, or at least
one is pointing into an entity.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |