org.apache.xerces.impl.xs
Class XSWildcardDecl
java.lang.Object
|
+--org.apache.xerces.impl.xs.XSWildcardDecl
- All Implemented Interfaces:
- XSObject, XSTerm, XSWildcard
- public class XSWildcardDecl
- extends java.lang.Object
- implements XSWildcard
The XML representation for a wildcard declaration
schema component is an or element information item
- Version:
- $Id: XSWildcardDecl.java,v 1.8 2002/06/17 18:41:45 elena Exp $
- Author:
- Sandy Gao, IBM, Rahul Srivastava, Sun Microsystems Inc.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ABSENT
public static final java.lang.String ABSENT
fType
public short fType
fProcessContents
public short fProcessContents
fNamespaceList
public java.lang.String[] fNamespaceList
XSWildcardDecl
public XSWildcardDecl()
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
getType
public short getType()
- Get the type of the object, i.e ELEMENT_DECLARATION.
- Specified by:
getType
in interface XSObject
getName
public java.lang.String getName()
- The
name
of this XSObject
depending on the
XSObject
type.
- Specified by:
getName
in interface XSObject
getNamespace
public java.lang.String getNamespace()
- The namespace URI of this node, or
null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
- Specified by:
getNamespace
in interface XSObject
getConstraintType
public short getConstraintType()
- Namespace constraint: A constraint type: any, not, list.
- Specified by:
getConstraintType
in interface XSWildcard
getNSConstraintList
public StringList getNSConstraintList()
- Namespace constraint. For
constraintType
LIST_NSCONSTRAINT, the list contains allowed namespaces. For
constraintType
NOT_NSCONSTRAINT, the list contains
disallowed namespaces.
- Specified by:
getNSConstraintList
in interface XSWildcard
getProcessContents
public short getProcessContents()
- {process contents} One of skip, lax or strict. Valid constants values
are: SKIP_PROCESS, LAX_PROCESS, STRING_PROCESS.
- Specified by:
getProcessContents
in interface XSWildcard
getAnnotation
public XSAnnotation getAnnotation()
- Optional. Annotation.
- Specified by:
getAnnotation
in interface XSWildcard
Copyright © 1999-2002 Apache XML Project. All Rights Reserved.