727728729730731732733734735736737
throw new IndexOutOfBoundsException(); Root r = getRoot(); Container c = (Container) s; Begin nthBegin = r.findNthBegin( c, name, null, i ); if (nthBegin == null) { if (i > r.count( c, name, null ) + 1) throw new IndexOutOfBoundsException();
755756757758759760761762763764765
throw new IllegalStateException(); Root r = getRoot(); Container c = (Splay.Container) s; Begin nthBegin = r.findNthBegin(c, null, set, i); if (nthBegin == null) { if (i > r.count(c, null, set)) throw new IndexOutOfBoundsException();
833834835836837838839840841842843844845846847848
private TypeStoreUser insertElement ( QName name, Splay s, int p ) { Root r = getRoot(); Begin b = new Begin( name, null ); b.toggleIsLeaf(); s.insert( r, p, b, null, 0, 0, true ); Type t = b.getType( r ); assert t != null; return t._user; }
860861862863864865866867868869870871
throw new IllegalStateException(); if (s.isLeaf()) throw new IndexOutOfBoundsException(); Begin b = getRoot().findNthBegin( s, qname, null, i ); if (b == null) throw new IndexOutOfBoundsException(); b.remove( getRoot(), true ); }
883884885886887888889890891892893894895
throw new IllegalStateException(); if (s.isLeaf()) throw new IndexOutOfBoundsException(); Begin b = getRoot().findNthBegin(s, null, names, i); if (b == null) throw new IndexOutOfBoundsException(); b.remove(getRoot(), true); }
979980981982983984985986987988989990
{ checkDisposed(); validateLocalName( name.getLocalPart() ); Begin b = new Begin( name, null ); b.toggleIsLeaf(); insert( b, text ); } }
927928929930931932933934935936937938
464465466467468469470471472473474475476477478479
assert s.isContainer(); if (!s.isContainer()) throw new IllegalStateException(); Begin nthBegin = getRoot().findNthBegin( s, name, null, i ); if (nthBegin == null) return null; Type t = nthBegin.getType( getRoot() ); assert t != null; return t._user; }
481482483484485486487488489490491492493
public TypeStoreUser find_element_user ( QNameSet names, int i ) { Splay s = getSplay(); assert s.isContainer(); Begin nthBegin = getRoot().findNthBegin(s, null, names, i); if (nthBegin == null) return null; Type t = nthBegin.getType(getRoot()); assert t != null; return t._user; }
686687688689690691692693694695696