sk.uniba.euromath.document.schema.impl.tools
Class Representatives
java.lang.Object
sk.uniba.euromath.document.schema.impl.tools.Representatives
public final class Representatives
- extends Object
For given set of ElementExp
s tries to find their
representatives. A representative for ElementExp is a QName of element, that
only this ElementExp accepts.
- Author:
- Martin Vysny
Method Summary |
static Map<QName,Set<com.sun.msv.grammar.ElementExp>> |
compute(Set<com.sun.msv.grammar.ElementExp> elementExps)
For given set of ElementExp s tries to find their
representatives. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Representatives
public Representatives()
compute
public static Map<QName,Set<com.sun.msv.grammar.ElementExp>> compute(Set<com.sun.msv.grammar.ElementExp> elementExps)
- For given set of
ElementExp
s tries to find their
representatives.
- Parameters:
elementExps
- set of ElementExp
instances.
- Returns:
- Map, where
key
is the QName of representative, and
value
is Set
of ElementExp
s, that are represented by this QName.
Copyright © 2003-2006 null. All Rights Reserved.