| java.lang.Object org.apache.xerces.impl.xs.models.XSAllCM
XSAllCM | public class XSAllCM implements XSCMValidator(Code) | | XSAllCM implements XSCMValidator and handles <all>.
author: Pavani Mukthipudi, Sun Microsystems Inc. version: $Id: XSAllCM.java 573322 2007-09-06 16:48:47Z peterjm $ |
Constructor Summary | |
public | XSAllCM(boolean hasOptionalContent, int size) |
XSAllCM | public XSAllCM(boolean hasOptionalContent, int size)(Code) | | |
checkUniqueParticleAttribution | public boolean checkUniqueParticleAttribution(SubstitutionGroupHandler subGroupHandler) throws XMLSchemaException(Code) | | check whether this content violates UPA constraint.
Parameters: subGroupHandler - the substitution group handler true if this content model contains other or list wildcard |
endContentModel | public boolean endContentModel(int[] currentState)(Code) | | The method indicates the end of list of children
Parameters: currentState - Current state of the content model true if the last state was a valid final state |
isCompactedForUPA | public boolean isCompactedForUPA()(Code) | | |
oneTransition | public Object oneTransition(QName elementName, int[] currentState, SubstitutionGroupHandler subGroupHandler)(Code) | | The method corresponds to one transition in the content model.
Parameters: elementName - Parameters: currentState - Current state an element decl object |
startContentModel | public int[] startContentModel()(Code) | | This methods to be called on entering a first element whose type
has this content model. It will return the initial state of the
content model
Start state of the content model |
whatCanGoHere | public Vector whatCanGoHere(int[] state)(Code) | | Check which elements are valid to appear at this point. This method also
works if the state is in error, in which case it returns what should
have been seen.
Parameters: state - the current state a Vector whose entries are instances ofeither XSWildcardDecl or XSElementDecl. |
|
|