|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xerces.impl.xs.SubstitutionGroupHandler
public class 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)
|
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 |
protected boolean |
substitutionGroupOK(XSElementDecl element,
XSElementDecl exemplar,
short blockingConstraint)
|
| 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)
protected boolean substitutionGroupOK(XSElementDecl element,
XSElementDecl exemplar,
short blockingConstraint)
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 | ||||||||