|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xerces.impl.xs.SubstitutionGroupHandler
public class SubstitutionGroupHandler
To store and validate information about substitutionGroup
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. |
boolean |
inSubstitutionGroup(XSElementDecl element,
XSElementDecl exemplar)
|
void |
reset()
clear the internal registry of substitutionGroup information |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubstitutionGroupHandler(XSGrammarBucket grammarBucket)
Method Detail |
---|
public XSElementDecl getMatchingElemDecl(QName element, XSElementDecl exemplar)
public boolean inSubstitutionGroup(XSElementDecl element, XSElementDecl exemplar)
public void reset()
public void addSubstitutionGroup(XSElementDecl[] elements)
public XSElementDecl[] getSubstitutionGroup(XSElementDecl element)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |