org.apache.xerces.impl.xs
public class SubstitutionGroupHandler extends Object
Version: $Id: SubstitutionGroupHandler.java,v 1.18 2005/02/04 03:36:57 mrglavas Exp $
UNKNOWN:
Constructor Summary | |
---|---|
SubstitutionGroupHandler(XSGrammarBucket grammarBucket)
Default constructor |
Method Summary | |
---|---|
void | addSubstitutionGroup(XSElementDecl[] elements)
add a list of substitution group information. |
XSElementDecl | getMatchingElemDecl(QName element, XSElementDecl exemplar) |
XSElementDecl[] | getSubstitutionGroup(XSElementDecl element)
get all elements that can substitute the given element,
according to the spec, we shouldn't consider the {block} constraints.
from the spec, substitution group of a given element decl also contains
the element itself. but the array returned from this method doesn't
containt this element. |
boolean | inSubstitutionGroup(XSElementDecl element, XSElementDecl exemplar) |
void | reset()
clear the internal registry of substitutionGroup information |
protected boolean | substitutionGroupOK(XSElementDecl element, XSElementDecl exemplar, short blockingConstraint) |