sk.uniba.euromath.document.schema
Class ElementSequenceRule

java.lang.Object
  extended by sk.uniba.euromath.document.schema.ElementSequenceRule

public class ElementSequenceRule
extends Object

Represents rule generating sequence of elements.

Author:
Martin Vysny

Method Summary
 List<InsertList> getSequences(sk.baka.ikslibs.ptr.DOMPoint start)
           Computes all possibilities of sequences, that can be generated by this rule.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSequences

public List<InsertList> getSequences(sk.baka.ikslibs.ptr.DOMPoint start)

Computes all possibilities of sequences, that can be generated by this rule. There must be only such insertlists, that doesn't contain optional elements. There must be no duplicite insertlists. If no elements are required to be created then an empty list shall be returned.

All insertpoints in each returned insertlist must be equal to start. All one-item-length insertlists must be grouped together into one insert list.

Parameters:
start - insertpoint, from which the numbering must start. It is guaranteed that start.pos == 0 is true.
Returns:
array of Insertlists, that can generate sequence of element, never null.


Copyright © 2003-2006 null. All Rights Reserved.