|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.document.schema.InsertList
public final class InsertList
List of ElementLoc objects, must be maintained ordered by
InsertPoint.
| Method Summary | ||
|---|---|---|
boolean |
add(ElementLoc o)
|
|
void |
add(int index,
ElementLoc element)
|
|
boolean |
addAll(Collection<? extends ElementLoc> c)
|
|
boolean |
addAll(int index,
Collection<? extends ElementLoc> c)
|
|
boolean |
canCreate(QName qname,
sk.baka.ikslibs.ptr.DOMPoint ip)
Checks if this insertlist is able to create element/attribute with given qname. |
|
void |
clear()
|
|
boolean |
contains(Object o)
|
|
boolean |
containsAll(Collection<?> c)
|
|
boolean |
equals(Object o)
|
|
ElementLoc |
get(int index)
|
|
ElementLoc |
getFirstAt(sk.baka.ikslibs.ptr.DOMPoint ip,
QName qname)
Finds first elementloc bound to be inserted at given position. |
|
INameList<NewElementRule> |
getFirstNamelistAt(sk.baka.ikslibs.ptr.DOMPoint ip)
Returns namelist of first elementloc, located at given insertpoint. |
|
int |
hashCode()
|
|
int |
indexOf(Object o)
|
|
boolean |
isEmpty()
|
|
Iterator<ElementLoc> |
iterator()
|
|
int |
lastIndexOf(Object o)
|
|
ListIterator<ElementLoc> |
listIterator()
|
|
ListIterator<ElementLoc> |
listIterator(int index)
|
|
ElementLoc |
remove(int index)
|
|
boolean |
remove(Object o)
|
|
boolean |
removeAll(Collection<?> c)
|
|
boolean |
retainAll(Collection<?> c)
|
|
ElementLoc |
set(int index,
ElementLoc element)
|
|
int |
size()
|
|
List<ElementLoc> |
subList(int fromIndex,
int toIndex)
|
|
Object[] |
toArray()
|
|
|
toArray(T[] a)
|
|
String |
toString()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String toString()
toString in class Object
public void add(int index,
ElementLoc element)
add in interface List<ElementLoc>public boolean add(ElementLoc o)
add in interface Collection<ElementLoc>add in interface List<ElementLoc>
public boolean addAll(int index,
Collection<? extends ElementLoc> c)
addAll in interface List<ElementLoc>public boolean addAll(Collection<? extends ElementLoc> c)
addAll in interface Collection<ElementLoc>addAll in interface List<ElementLoc>public void clear()
clear in interface Collection<ElementLoc>clear in interface List<ElementLoc>public boolean contains(Object o)
contains in interface Collection<ElementLoc>contains in interface List<ElementLoc>public boolean containsAll(Collection<?> c)
containsAll in interface Collection<ElementLoc>containsAll in interface List<ElementLoc>public boolean equals(Object o)
equals in interface Collection<ElementLoc>equals in interface List<ElementLoc>equals in class Objectpublic ElementLoc get(int index)
get in interface List<ElementLoc>public int hashCode()
hashCode in interface Collection<ElementLoc>hashCode in interface List<ElementLoc>hashCode in class Objectpublic int indexOf(Object o)
indexOf in interface List<ElementLoc>public boolean isEmpty()
isEmpty in interface Collection<ElementLoc>isEmpty in interface List<ElementLoc>public Iterator<ElementLoc> iterator()
iterator in interface Iterable<ElementLoc>iterator in interface Collection<ElementLoc>iterator in interface List<ElementLoc>public int lastIndexOf(Object o)
lastIndexOf in interface List<ElementLoc>public ListIterator<ElementLoc> listIterator()
listIterator in interface List<ElementLoc>public ListIterator<ElementLoc> listIterator(int index)
listIterator in interface List<ElementLoc>public ElementLoc remove(int index)
remove in interface List<ElementLoc>public boolean remove(Object o)
remove in interface Collection<ElementLoc>remove in interface List<ElementLoc>public boolean removeAll(Collection<?> c)
removeAll in interface Collection<ElementLoc>removeAll in interface List<ElementLoc>public boolean retainAll(Collection<?> c)
retainAll in interface Collection<ElementLoc>retainAll in interface List<ElementLoc>
public ElementLoc set(int index,
ElementLoc element)
set in interface List<ElementLoc>public int size()
size in interface Collection<ElementLoc>size in interface List<ElementLoc>
public List<ElementLoc> subList(int fromIndex,
int toIndex)
subList in interface List<ElementLoc>public Object[] toArray()
toArray in interface Collection<ElementLoc>toArray in interface List<ElementLoc>public <T> T[] toArray(T[] a)
toArray in interface Collection<ElementLoc>toArray in interface List<ElementLoc>
public boolean canCreate(QName qname,
sk.baka.ikslibs.ptr.DOMPoint ip)
qname - qname to check. May be null - in such case
the qname does not matter.ip - the insertpoint where the element will be inserted.
true if at least one elementloc contains rule for
given qname. If qname is null then returns
true if any elementloc can be found at given insertpoint.
public ElementLoc getFirstAt(sk.baka.ikslibs.ptr.DOMPoint ip,
QName qname)
ip - the position.qname - if not null then the elementloc must contain
rule for given qname.
null if no such object
exist.public INameList<NewElementRule> getFirstNamelistAt(sk.baka.ikslibs.ptr.DOMPoint ip)
ip - insertpoint.
null if no rule exists for given
insertpoint.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||