sk.uniba.euromath.document.schema.impl.modify
Class IteratorBuilder
java.lang.Object
sk.uniba.euromath.document.schema.impl.iterator.SchemaLevelNodeIteratorBuilder
sk.uniba.euromath.document.schema.impl.modify.IteratorBuilder
public class IteratorBuilder
- extends SchemaLevelNodeIteratorBuilder
Builder of enclosing/declosing iterators.
- Author:
- Martin Vysny
Method Summary |
static SchemaLevelNodeIterator |
createDeclosingIterator(Element e)
Iterates over a sequence of nodes that is made of the siblings of given
element plus the contents of the element (iterates the sequence having e
declosed). |
static sk.uniba.euromath.document.schema.impl.modify.EnclosingIterator |
createEnclosingIterator(sk.baka.ikslibs.interval.DOMInterval interval)
Iterates the content of start.parent element. |
Methods inherited from class sk.uniba.euromath.document.schema.impl.iterator.SchemaLevelNodeIteratorBuilder |
computeItems, createIterator, createIterator, createIterator, createIterator, createWithDeleted, createWithInserted, createWithInserted, createWithInserted, createWithInserted, normalize, search |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IteratorBuilder
public IteratorBuilder()
createEnclosingIterator
public static sk.uniba.euromath.document.schema.impl.modify.EnclosingIterator createEnclosingIterator(sk.baka.ikslibs.interval.DOMInterval interval)
- Iterates the content of
start.parent
element. All nodes in
start-end range are removed - they are placed in enclosing
element instead.
- Parameters:
interval
- the interval
- Returns:
- the XML content iterator instance.
createDeclosingIterator
public static SchemaLevelNodeIterator createDeclosingIterator(Element e)
- Iterates over a sequence of nodes that is made of the siblings of given
element plus the contents of the element (iterates the sequence having e
declosed).
- Parameters:
e
- the element that needs to be replaced by its contents.
- Returns:
- the XML content iterator.
Copyright © 2003-2006 null. All Rights Reserved.