| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final XSElementDecl[] | |
| private static final SubstitutionGroupHandler. | |
| pack-priv Map | |
| pack-priv Map | |
| private final XSElementDeclHelper |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| private boolean | getDBMethods(XSTypeDefinition typed, XSTypeDefinition typeb, SubstitutionGroupHandler.
|
| public XSElementDecl | |
| private SubstitutionGroupHandler. | |
| public XSElementDecl[] | getSubstitutionGroup(XSElementDecl element)
get all elements that can substitute the given element, according to the spec, we shouldn't consider the {block} constraints. |
| public boolean | |
| public void | |
| protected boolean | |
| private boolean |
| EMPTY_GROUP | back to summary |
|---|---|
| private static final XSElementDecl[] EMPTY_GROUP | |
| EMPTY_VECTOR | back to summary |
|---|---|
| private static final SubstitutionGroupHandler. | |
| fSubGroups | back to summary |
|---|---|
| pack-priv Map<XSElementDecl, XSElementDecl[]> fSubGroups | |
| fSubGroupsB | back to summary |
|---|---|
| pack-priv Map<XSElementDecl, Object> fSubGroupsB | |
| fXSElementDeclHelper | back to summary |
|---|---|
| private final XSElementDeclHelper fXSElementDeclHelper | |
| SubstitutionGroupHandler | back to summary |
|---|---|
| public SubstitutionGroupHandler(XSElementDeclHelper elementDeclHelper) Default constructor | |
| addSubstitutionGroup | back to summary |
|---|---|
| public void addSubstitutionGroup(XSElementDecl[] elements) add a list of substitution group information.
| |
| getDBMethods | back to summary |
|---|---|
| private boolean getDBMethods(XSTypeDefinition typed, XSTypeDefinition typeb, SubstitutionGroupHandler. | |
| getMatchingElemDecl | back to summary |
|---|---|
| public XSElementDecl getMatchingElemDecl(QName element, XSElementDecl exemplar) | |
| getSubGroupB | back to summary |
|---|---|
| private SubstitutionGroupHandler. | |
| getSubstitutionGroup | back to summary |
|---|---|
| public 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. | |
| inSubstitutionGroup | back to summary |
|---|---|
| public boolean inSubstitutionGroup(XSElementDecl element, XSElementDecl exemplar) | |
| reset | back to summary |
|---|---|
| public void reset() clear the internal registry of substitutionGroup information | |
| substitutionGroupOK | back to summary |
|---|---|
| protected boolean substitutionGroupOK(XSElementDecl element, XSElementDecl exemplar, short blockingConstraint) | |
| typeDerivationOK | back to summary |
|---|---|
| private boolean typeDerivationOK(XSTypeDefinition derived, XSTypeDefinition base, short blockingConstraint) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv short | |
| pack-priv short | |
| pack-priv XSElementDecl |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| bMethod | back to summary |
|---|---|
| pack-priv short bMethod | |
| dMethod | back to summary |
|---|---|
| pack-priv short dMethod | |
| sub | back to summary |
|---|---|
| pack-priv XSElementDecl sub | |
| OneSubGroup | back to summary |
|---|---|
| pack-priv OneSubGroup() | |
| OneSubGroup | back to summary |
|---|---|
| pack-priv OneSubGroup(XSElementDecl sub, short dMethod, short bMethod) | |