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) |
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) |
public SubstitutionGroupHandler(XSElementDeclHelper elementDeclHelper)
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)
Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.