org.apache.xerces.impl.xs

Class XSWildcardDecl

public class XSWildcardDecl extends Object implements XSWildcard

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

Version: $Id: XSWildcardDecl.java,v 1.17 2004/10/06 15:14:55 mrglavas Exp $

Author: Sandy Gao, IBM Rahul Srivastava, Sun Microsystems Inc.

UNKNOWN:

Field Summary
static StringABSENT
XSAnnotationImplfAnnotation
String[]fNamespaceList
shortfProcessContents
shortfType
Method Summary
booleanallowNamespace(String namespace)
Validation Rule: Wildcard allows Namespace Name
XSAnnotationgetAnnotation()
Optional.
shortgetConstraintType()
Namespace constraint: A constraint type: any, not, list.
StringgetName()
The name of this XSObject depending on the XSObject type.
StringgetNamespace()
The namespace URI of this node, or null if it is unspecified. defines how a namespace URI is attached to schema components.
XSNamespaceItemgetNamespaceItem()
StringListgetNsConstraintList()
Namespace constraint.
shortgetProcessContents()
{process contents} One of skip, lax or strict.
StringgetProcessContentsAsString()
String valid of {process contents}.
shortgetType()
Get the type of the object, i.e ELEMENT_DECLARATION.
booleanisSubsetOf(XSWildcardDecl superWildcard)
Schema Component Constraint: Wildcard Subset
XSWildcardDeclperformIntersectionWith(XSWildcardDecl wildcard, short processContents)
Schema Component Constraint: Attribute Wildcard Intersection
XSWildcardDeclperformUnionWith(XSWildcardDecl wildcard, short processContents)
Schema Component Constraint: Attribute Wildcard Union
StringtoString()
booleanweakerProcessContents(XSWildcardDecl superWildcard)
Check whether this wildcard has a weaker process contents than the super.

Field Detail

ABSENT

public static final String ABSENT

fAnnotation

public XSAnnotationImpl fAnnotation

fNamespaceList

public String[] fNamespaceList

fProcessContents

public short fProcessContents

fType

public short fType

Method Detail

allowNamespace

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

getAnnotation

public XSAnnotation getAnnotation()
Optional. Annotation.

getConstraintType

public short getConstraintType()
Namespace constraint: A constraint type: any, not, list.

getName

public String getName()
The name of this XSObject depending on the XSObject type.

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.

getNamespaceItem

public XSNamespaceItem getNamespaceItem()

See Also: org.apache.xerces.xs.XSObject#getNamespaceItem()

getNsConstraintList

public StringList getNsConstraintList()
Namespace constraint. For constraintType LIST_NSCONSTRAINT, the list contains allowed namespaces. For constraintType NOT_NSCONSTRAINT, the list contains disallowed namespaces.

getProcessContents

public short getProcessContents()
{process contents} One of skip, lax or strict. Valid constants values are: PC_SKIP, PC_LAX, PC_STRICT.

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.

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-2005 Apache XML Project. All Rights Reserved.