org.enhydra.apache.xerces.validators.schema
Class SubstitutionGroupComparator
java.lang.Object
|
+--org.enhydra.apache.xerces.validators.schema.SubstitutionGroupComparator
- public class SubstitutionGroupComparator
- extends Object
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubstitutionGroupComparator
public SubstitutionGroupComparator(GrammarResolver grammarResolver,
StringPool stringPool,
XMLErrorReporter errorReporter)
getStringPool
public StringPool getStringPool()
getErrorReporter
public XMLErrorReporter getErrorReporter()
isEquivalentTo
public boolean isEquivalentTo(QName anElement,
QName exemplar)
throws Exception
isAllowedByWildcard
public boolean isAllowedByWildcard(QName element,
int wuri,
boolean wother)
throws Exception
- check whether one element or any element in its substitution group
is allowed by a given wildcard uri
- Parameters:
element
- the QName of a given elementwuri
- the uri of the wildcardwother
- whether the uri is from ##other, so wuri is excluded- Returns:
- whether the element is allowed by the wildcard
Copyright © 1999 The Apache Software Foundation. All Rights reserved.