|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xerces.impl.xs.SubstitutionGroupHandler
To store and validate information about substitutionGroup
Constructor Summary | |
SubstitutionGroupHandler(XSElementDeclHelper elementDeclHelper)
Default constructor |
Method Summary | |
void |
addSubstitutionGroup(XSElementDecl[] elements)
add a list of substitution group information. |
XSElementDecl |
getMatchingElemDecl(org.apache.xerces.xni.QName element,
XSElementDecl exemplar,
short schemaVersion)
|
XSElementDecl[] |
getSubstitutionGroup(XSElementDecl element,
short schemaVersion)
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,
short schemaVersion)
|
void |
reset()
clear the internal registry of substitutionGroup information |
protected boolean |
substitutionGroupOK(XSElementDecl element,
XSElementDecl exemplar,
short blockingConstraint,
short schemaVersion)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SubstitutionGroupHandler(XSElementDeclHelper elementDeclHelper)
Method Detail |
public XSElementDecl getMatchingElemDecl(org.apache.xerces.xni.QName element, XSElementDecl exemplar, short schemaVersion)
protected boolean substitutionGroupOK(XSElementDecl element, XSElementDecl exemplar, short blockingConstraint, short schemaVersion)
public boolean inSubstitutionGroup(XSElementDecl element, XSElementDecl exemplar, short schemaVersion)
public void reset()
public void addSubstitutionGroup(XSElementDecl[] elements)
public XSElementDecl[] getSubstitutionGroup(XSElementDecl element, short schemaVersion)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |