public class SubstitutionGroupHandler
extends java.lang.Object
Constructor and Description |
---|
SubstitutionGroupHandler(XSElementDeclHelper elementDeclHelper)
Default constructor
|
Modifier and Type | Method and Description |
---|---|
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) |
public SubstitutionGroupHandler(XSElementDeclHelper elementDeclHelper)
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)
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.