Lines Matching refs:wildcard

33  * The XML representation for a wildcard declaration
47 // the type of wildcard: any, other, or list
80 // For a value which is either a namespace name or absent to be valid with respect to a wildcard constraint (the value of a {namespace constraint}) one of the following must be true:
174 * Check whether this wildcard has a weaker process contents than the super.
186 public XSWildcardDecl performUnionWith(XSWildcardDecl wildcard,
188 // if the other wildcard is not expressible, the result is still not expressible
189 if (wildcard == null)
192 // For a wildcard's {namespace constraint} value to be the intensional union of two
200 if (areSame(wildcard)) {
206 else if ( (fType == NSCONSTRAINT_ANY) || (wildcard.fType == NSCONSTRAINT_ANY) ) {
212 else if ( (fType == NSCONSTRAINT_LIST) && (wildcard.fType == NSCONSTRAINT_LIST) ) {
214 unionWildcard.fNamespaceList = union2sets(fNamespaceList, wildcard.fNamespaceList);
223 else if (fType == NSCONSTRAINT_NOT && wildcard.fType == NSCONSTRAINT_NOT) {
252 else if ( ((fType == NSCONSTRAINT_NOT) && (wildcard.fType == NSCONSTRAINT_LIST)) ||
253 ((fType == NSCONSTRAINT_LIST) && (wildcard.fType == NSCONSTRAINT_NOT)) ) {
259 list = wildcard.fNamespaceList;
262 other = wildcard.fNamespaceList;
300 public XSWildcardDecl performIntersectionWith(XSWildcardDecl wildcard,
302 // if the other wildcard is not expressible, the result is still not expressible
303 if (wildcard == null)
306 // For a wildcard's {namespace constraint} value to be the intensional intersection of
314 if (areSame(wildcard)) {
320 else if ( (fType == NSCONSTRAINT_ANY) || (wildcard.fType == NSCONSTRAINT_ANY) ) {
325 other = wildcard;
339 else if ( ((fType == NSCONSTRAINT_NOT) && (wildcard.fType == NSCONSTRAINT_LIST)) ||
340 ((fType == NSCONSTRAINT_LIST) && (wildcard.fType == NSCONSTRAINT_NOT)) ) {
346 list = wildcard.fNamespaceList;
349 other = wildcard.fNamespaceList;
368 else if ( (fType == NSCONSTRAINT_LIST) && (wildcard.fType == NSCONSTRAINT_LIST) ) {
370 intersectWildcard.fNamespaceList = intersect2sets(fNamespaceList, wildcard.fNamespaceList);
381 else if (fType == NSCONSTRAINT_NOT && wildcard.fType == NSCONSTRAINT_NOT) {
382 if (fNamespaceList[0] != ABSENT && wildcard.fNamespaceList[0] != ABSENT)
387 other = wildcard;
397 private boolean areSame(XSWildcardDecl wildcard) {
398 if (fType == wildcard.fType) {
407 return fNamespaceList[0] == wildcard.fNamespaceList[0];
412 if (fNamespaceList.length == wildcard.fNamespaceList.length) {
414 if (!elementInSet(fNamespaceList[i], wildcard.fNamespaceList))
477 * get the string description of this wildcard