org.apache.xerces.impl.xs
Class XSWildcardDecl
java.lang.Object
org.apache.xerces.impl.xs.XSWildcardDecl
- org.apache.xerces.xs.XSWildcard
public class XSWildcardDecl
extends java.lang.Object
implements org.apache.xerces.xs.XSWildcard
The XML representation for a wildcard declaration
schema component is an
or element information item
$Id: XSWildcardDecl.java 388853 2006-03-25 23:05:56Z mrglavas $- Sandy Gao, IBM
- Rahul Srivastava, Sun Microsystems Inc.
ABSENT
public static final String ABSENT
fAnnotations
public org.apache.xerces.xs.XSObjectList fAnnotations
fNamespaceList
public String[] fNamespaceList
fProcessContents
public short fProcessContents
allowNamespace
public boolean allowNamespace(String namespace)
Validation Rule: Wildcard allows Namespace Name
getAnnotation
public org.apache.xerces.xs.XSAnnotation getAnnotation()
Optional. Annotation.
- getAnnotation in interface org.apache.xerces.xs.XSWildcard
getAnnotations
public org.apache.xerces.xs.XSObjectList getAnnotations()
Optional. Annotations.
- getAnnotations in interface org.apache.xerces.xs.XSWildcard
getConstraintType
public short getConstraintType()
Namespace constraint: A constraint type: any, not, list.
- getConstraintType in interface org.apache.xerces.xs.XSWildcard
getName
public String getName()
The name
of this XSObject
depending on the
XSObject
type.
- getName in interface org.apache.xerces.xs.XSObject
getNamespace
public String getNamespace()
The namespace URI of this node, or null
if it is
unspecified. defines how a namespace URI is attached to schema
components.
- getNamespace in interface org.apache.xerces.xs.XSObject
getNamespaceItem
public org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
- getNamespaceItem in interface org.apache.xerces.xs.XSObject
org.apache.xerces.xs.XSObject.getNamespaceItem()
getNsConstraintList
public org.apache.xerces.xs.StringList getNsConstraintList()
Namespace constraint. For constraintType
LIST_NSCONSTRAINT, the list contains allowed namespaces. For
constraintType
NOT_NSCONSTRAINT, the list contains
disallowed namespaces.
- getNsConstraintList in interface org.apache.xerces.xs.XSWildcard
getProcessContents
public short getProcessContents()
{process contents} One of skip, lax or strict. Valid constants values
are: PC_SKIP, PC_LAX, PC_STRICT.
- getProcessContents in interface org.apache.xerces.xs.XSWildcard
getProcessContentsAsString
public String getProcessContentsAsString()
String valid of {process contents}. One of "skip", "lax" or "strict".
getType
public short getType()
Get the type of the object, i.e ELEMENT_DECLARATION.
- getType in interface org.apache.xerces.xs.XSObject
isSubsetOf
public boolean isSubsetOf(XSWildcardDecl superWildcard)
Schema Component Constraint: Wildcard Subset
performIntersectionWith
public XSWildcardDecl performIntersectionWith(XSWildcardDecl wildcard,
short processContents)
Schema Component Constraint: Attribute Wildcard Intersection
performUnionWith
public XSWildcardDecl performUnionWith(XSWildcardDecl wildcard,
short processContents)
Schema Component Constraint: Attribute Wildcard Union
toString
public String toString()
weakerProcessContents
public boolean weakerProcessContents(XSWildcardDecl superWildcard)
Check whether this wildcard has a weaker process contents than the super.
Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.