|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.document.schema.impl.export.RulePool
public final class RulePool
Pool of NewElementRuleImpl and AttributeRuleImpl. Forbids
creation of more than one object for each expression set.
| Constructor Summary | |
|---|---|
RulePool(RulePool parent)
Creates pool with parent. |
|
RulePool(SchemaImpl schema)
Creates pool without parent. |
|
| Method Summary | |
|---|---|
AttributeRuleImpl |
getAttributeRuleInstance(Set<com.sun.msv.grammar.AttributeExp> exps)
Returns instance of AttributeRuleImpl for given expression set. |
NewElementRuleImpl |
getElementRuleInstance(Set<com.sun.msv.grammar.ElementExp> exps)
Returns instance of NewElementRuleImpl for given expression set. |
ElementSequenceRuleImpl |
getElementSeqRuleInstance(com.sun.msv.grammar.Expression exp)
Returns instance of ElementSequenceRuleImpl for given expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RulePool(SchemaImpl schema)
schema - an SchemaImpl instance.public RulePool(RulePool parent)
getInstance looks to
parent, and if required instance cannot be found there, then this instance handles
it itself.
parent - parent RulePool.| Method Detail |
|---|
public NewElementRuleImpl getElementRuleInstance(Set<com.sun.msv.grammar.ElementExp> exps)
NewElementRuleImpl for given expression set.
exps - set, containing the ElementExp objects.
NewElementRuleImpl for given expression set.public AttributeRuleImpl getAttributeRuleInstance(Set<com.sun.msv.grammar.AttributeExp> exps)
AttributeRuleImpl for given expression set.
exps - set, containing the AttributeExp objects.
AttributeRuleImpl for given expression set.public ElementSequenceRuleImpl getElementSeqRuleInstance(com.sun.msv.grammar.Expression exp)
ElementSequenceRuleImpl for given expression.
exp - expression.
NewElementRuleImpl for given
expression. if exp is epsilon-reducible, result is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||