public class XSWildcardDecl
extends java.lang.Object
implements org.apache.xerces.xs.XSWildcard
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ABSENT |
org.apache.xerces.xs.XSObjectList |
fAnnotations |
java.lang.String[] |
fNamespaceList |
short |
fProcessContents |
short |
fType |
| Constructor and Description |
|---|
XSWildcardDecl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowNamespace(java.lang.String namespace)
Validation Rule: Wildcard allows Namespace Name
|
org.apache.xerces.xs.XSAnnotation |
getAnnotation()
Optional.
|
org.apache.xerces.xs.XSObjectList |
getAnnotations()
Optional.
|
short |
getConstraintType()
Namespace constraint: A constraint type: any, not, list.
|
java.lang.String |
getName()
The
name of this XSObject depending on the
XSObject type. |
java.lang.String |
getNamespace()
The namespace URI of this node, or
null if it is
unspecified. |
org.apache.xerces.xs.XSNamespaceItem |
getNamespaceItem()
A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
null otherwise. |
org.apache.xerces.xs.StringList |
getNsConstraintList()
Namespace constraint.
|
short |
getProcessContents()
{process contents} One of skip, lax or strict.
|
java.lang.String |
getProcessContentsAsString()
String valid of {process contents}.
|
short |
getType()
Get the type of the object, i.e ELEMENT_DECLARATION.
|
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() |
boolean |
weakerProcessContents(XSWildcardDecl superWildcard)
Check whether this wildcard has a weaker process contents than the super.
|
public static final java.lang.String ABSENT
public short fType
public short fProcessContents
public java.lang.String[] fNamespaceList
public org.apache.xerces.xs.XSObjectList fAnnotations
public boolean allowNamespace(java.lang.String namespace)
public boolean isSubsetOf(XSWildcardDecl superWildcard)
public boolean weakerProcessContents(XSWildcardDecl superWildcard)
public XSWildcardDecl performUnionWith(XSWildcardDecl wildcard, short processContents)
public XSWildcardDecl performIntersectionWith(XSWildcardDecl wildcard, short processContents)
public java.lang.String toString()
toString in class java.lang.Objectpublic short getType()
getType in interface org.apache.xerces.xs.XSObjectpublic java.lang.String getName()
name of this XSObject depending on the
XSObject type.getName in interface org.apache.xerces.xs.XSObjectpublic java.lang.String getNamespace()
null if it is
unspecified. defines how a namespace URI is attached to schema
components.getNamespace in interface org.apache.xerces.xs.XSObjectpublic short getConstraintType()
getConstraintType in interface org.apache.xerces.xs.XSWildcardpublic org.apache.xerces.xs.StringList getNsConstraintList()
constraintType
LIST_NSCONSTRAINT, the list contains allowed namespaces. For
constraintType NOT_NSCONSTRAINT, the list contains
disallowed namespaces.getNsConstraintList in interface org.apache.xerces.xs.XSWildcardpublic short getProcessContents()
getProcessContents in interface org.apache.xerces.xs.XSWildcardpublic java.lang.String getProcessContentsAsString()
public org.apache.xerces.xs.XSAnnotation getAnnotation()
getAnnotation in interface org.apache.xerces.xs.XSWildcardpublic org.apache.xerces.xs.XSObjectList getAnnotations()
getAnnotations in interface org.apache.xerces.xs.XSWildcardpublic org.apache.xerces.xs.XSNamespaceItem getNamespaceItem()
org.apache.xerces.xs.XSObjectnull otherwise.getNamespaceItem in interface org.apache.xerces.xs.XSObjectXSObject.getNamespaceItem()Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.