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