|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.uniba.euromath.document.schema.impl.tools.AttributeExpGetter
public final class AttributeExpGetter
Computes list of attributes expressions, that are contained in given expression.
| Constructor Summary | |
|---|---|
AttributeExpGetter()
Constructor. |
|
| Method Summary | |
|---|---|
Set<com.sun.msv.grammar.AttributeExp> |
getAllAttributes(com.sun.msv.grammar.Expression exp)
Returns all attributes from empty ("") namespace, regardless of which element they are placed in. |
Set<com.sun.msv.grammar.AttributeExp> |
getAttributeExps(com.sun.msv.grammar.Expression exp,
boolean requiredOnly)
Returns all AttributeExps, contained in given expression. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeExpGetter()
| Method Detail |
|---|
public Set<com.sun.msv.grammar.AttributeExp> getAllAttributes(com.sun.msv.grammar.Expression exp)
exp - expression to examine.
AttributeExp
objects.
public Set<com.sun.msv.grammar.AttributeExp> getAttributeExps(com.sun.msv.grammar.Expression exp,
boolean requiredOnly)
AttributeExps, contained in given expression.
It will not go over elementexps. If exp is ElementExp,
then its content model is used.
exp - element expression to check.requiredOnly - return required attributes only.
AttributeExp.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||