|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object sk.uniba.euromath.document.schema.impl.export.IlAndTailImpl
public final class IlAndTailImpl
Represents one option of inserting elements into element. InsertList describes, which elements must be added inbetween the content. Expression represents truncating expression, that needs to be created at the tail of content nodes.
Field Summary | |
---|---|
InsertListImpl |
insertList
InsertList describing insertable elements into element's content. |
sk.baka.ikslibs.ptr.DOMPoint |
last
Insertpoint pointing after the last node. |
com.sun.msv.grammar.Expression |
tailExp
Expression generating tail of element's content. |
Constructor Summary | |
---|---|
IlAndTailImpl(InsertListImpl insertList,
com.sun.msv.grammar.Expression tailExp,
RulePool rulePool,
sk.baka.ikslibs.ptr.DOMPoint last)
Constructs instance of the 'InsertList and its tail' representation object. |
Method Summary | |
---|---|
List<InsertListImpl> |
asInsertLists()
Returns the elements that may be generated by this class as a list of insertlists. |
IInsertListP |
getInsertList()
Returns InsertList describing insertable elements into element's content. |
boolean |
isTailRequired()
Returns true, when there is some tailing content required to be created. |
ElementSequenceRuleImpl |
tailRule()
Returns rule for tailing required content. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public final com.sun.msv.grammar.Expression tailExp
null
,
there are no elements required to tail element's content.
public final InsertListImpl insertList
public final sk.baka.ikslibs.ptr.DOMPoint last
Constructor Detail |
---|
public IlAndTailImpl(InsertListImpl insertList, com.sun.msv.grammar.Expression tailExp, RulePool rulePool, sk.baka.ikslibs.ptr.DOMPoint last)
insertList
- the insertlist.tailExp
- the expression that generates some tail. If
null
or is epsilon-reducible then no tail is required
hence the object shall represent only the insertlist.rulePool
- the pool of rules.last
- InsertPoint pointing after the last node - this value shall
all tail rules have.Method Detail |
---|
public String toString()
toString
in class Object
public IInsertListP getInsertList()
InsertListP
instance.public boolean isTailRequired()
public ElementSequenceRuleImpl tailRule()
null
if tail
is not required.public List<InsertListImpl> asInsertLists()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |