714715716717718719720721722723724
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();
792793794795796797798799800801802803804805806807
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; }
819820821822823824825826827828829830
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 ); }
842843844845846847848849850851852853854
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); }
927928929930931932933934935936937938
{ checkDisposed(); validateLocalName( name.getLocalPart() ); Begin b = new Begin( name, null ); b.toggleIsLeaf(); insert( b, text ); } }