< prev index next >

src/com/sun/org/apache/xerces/internal/impl/xs/XSWildcardDecl.java

Print this page
rev 2127 : 8048021: Remove @version tag in jaxp repo
Reviewed-by: joehw


  21 package com.sun.org.apache.xerces.internal.impl.xs;
  22 
  23 import com.sun.org.apache.xerces.internal.impl.xs.util.StringListImpl;
  24 import com.sun.org.apache.xerces.internal.impl.xs.util.XSObjectListImpl;
  25 import com.sun.org.apache.xerces.internal.xs.StringList;
  26 import com.sun.org.apache.xerces.internal.xs.XSAnnotation;
  27 import com.sun.org.apache.xerces.internal.xs.XSConstants;
  28 import com.sun.org.apache.xerces.internal.xs.XSNamespaceItem;
  29 import com.sun.org.apache.xerces.internal.xs.XSWildcard;
  30 import com.sun.org.apache.xerces.internal.xs.XSObjectList;
  31 
  32 /**
  33  * The XML representation for a wildcard declaration
  34  * schema component is an <any> or <anyAttribute> element information item
  35  *
  36  * @xerces.internal
  37  *
  38  * @author Sandy Gao, IBM
  39  * @author Rahul Srivastava, Sun Microsystems Inc.
  40  *
  41  * @version $Id: XSWildcardDecl.java,v 1.7 2010-11-01 04:39:55 joehw Exp $
  42  */
  43 public class XSWildcardDecl implements XSWildcard {
  44 
  45     public static final String ABSENT = null;
  46 
  47     // the type of wildcard: any, other, or list
  48     public short fType = NSCONSTRAINT_ANY;
  49     // the type of process contents: strict, lax, or skip
  50     public short fProcessContents = PC_STRICT;
  51     // the namespace list:
  52     // for NSCONSTRAINT_LIST, it means one of the namespaces in the list
  53     // for NSCONSTRAINT_NOT, it means not any of the namespaces in the list
  54     public String[] fNamespaceList;
  55 
  56     // optional annotation
  57     public XSObjectList fAnnotations = null;
  58 
  59     // I'm trying to implement the following constraint exactly as what the
  60     // spec describes. Sometimes it seems redundant, and sometimes there seems
  61     // to be much easier solutions. But it makes it easy to understand,




  21 package com.sun.org.apache.xerces.internal.impl.xs;
  22 
  23 import com.sun.org.apache.xerces.internal.impl.xs.util.StringListImpl;
  24 import com.sun.org.apache.xerces.internal.impl.xs.util.XSObjectListImpl;
  25 import com.sun.org.apache.xerces.internal.xs.StringList;
  26 import com.sun.org.apache.xerces.internal.xs.XSAnnotation;
  27 import com.sun.org.apache.xerces.internal.xs.XSConstants;
  28 import com.sun.org.apache.xerces.internal.xs.XSNamespaceItem;
  29 import com.sun.org.apache.xerces.internal.xs.XSWildcard;
  30 import com.sun.org.apache.xerces.internal.xs.XSObjectList;
  31 
  32 /**
  33  * The XML representation for a wildcard declaration
  34  * schema component is an <any> or <anyAttribute> element information item
  35  *
  36  * @xerces.internal
  37  *
  38  * @author Sandy Gao, IBM
  39  * @author Rahul Srivastava, Sun Microsystems Inc.
  40  *

  41  */
  42 public class XSWildcardDecl implements XSWildcard {
  43 
  44     public static final String ABSENT = null;
  45 
  46     // the type of wildcard: any, other, or list
  47     public short fType = NSCONSTRAINT_ANY;
  48     // the type of process contents: strict, lax, or skip
  49     public short fProcessContents = PC_STRICT;
  50     // the namespace list:
  51     // for NSCONSTRAINT_LIST, it means one of the namespaces in the list
  52     // for NSCONSTRAINT_NOT, it means not any of the namespaces in the list
  53     public String[] fNamespaceList;
  54 
  55     // optional annotation
  56     public XSObjectList fAnnotations = null;
  57 
  58     // I'm trying to implement the following constraint exactly as what the
  59     // spec describes. Sometimes it seems redundant, and sometimes there seems
  60     // to be much easier solutions. But it makes it easy to understand,


< prev index next >