org.apache.xerces.impl.xs
Class XSWildcardDecl

java.lang.Object
  |
  +--org.apache.xerces.impl.xs.XSWildcardDecl

public class XSWildcardDecl
extends java.lang.Object

The XML representation for a wildcard declaration schema component is an or element information item

Version:
$Id: XSWildcardDecl.java,v 1.5 2002/01/29 01:15:14 lehors Exp $
Author:
Sandy Gao, IBM, Rahul Srivastava, Sun Microsystems Inc.

Field Summary
static java.lang.String ABSENT
           
 java.lang.String[] fNamespaceList
           
 short fProcessContents
           
 short fType
           
static short WILDCARD_ANY
           
static short WILDCARD_LAX
           
static short WILDCARD_LIST
           
static short WILDCARD_OTHER
           
static short WILDCARD_SKIP
           
static short WILDCARD_STRICT
           
 
Constructor Summary
XSWildcardDecl()
           
 
Method Summary
 boolean allowNamespace(java.lang.String namespace)
          Validation Rule: Wildcard allows Namespace Name
 boolean isSubsetOf(XSWildcardDecl superWildcard)
          Schema Component Constraint: Wildcard Subset
 XSWildcardDecl performIntersectionWith(XSWildcardDecl wildcard, short processContents)
          Schema Component Constraint: Attribute Wildcard Intersection
 XSWildcardDecl performUnionWith(XSWildcardDecl wildcard, short processContents)
          Schema Component Constraint: Attribute Wildcard Union
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ABSENT

public static final java.lang.String ABSENT

WILDCARD_ANY

public static final short WILDCARD_ANY

WILDCARD_OTHER

public static final short WILDCARD_OTHER

WILDCARD_LIST

public static final short WILDCARD_LIST

WILDCARD_STRICT

public static final short WILDCARD_STRICT

WILDCARD_LAX

public static final short WILDCARD_LAX

WILDCARD_SKIP

public static final short WILDCARD_SKIP

fType

public short fType

fProcessContents

public short fProcessContents

fNamespaceList

public java.lang.String[] fNamespaceList
Constructor Detail

XSWildcardDecl

public XSWildcardDecl()
Method Detail

allowNamespace

public boolean allowNamespace(java.lang.String namespace)
Validation Rule: Wildcard allows Namespace Name

isSubsetOf

public boolean isSubsetOf(XSWildcardDecl superWildcard)
Schema Component Constraint: Wildcard Subset

performUnionWith

public XSWildcardDecl performUnionWith(XSWildcardDecl wildcard,
                                       short processContents)
Schema Component Constraint: Attribute Wildcard Union

performIntersectionWith

public XSWildcardDecl performIntersectionWith(XSWildcardDecl wildcard,
                                              short processContents)
Schema Component Constraint: Attribute Wildcard Intersection

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 1999-2002 Apache XML Project. All Rights Reserved.