public class XSWildcardDecl extends Object implements XSWildcard
| Modifier and Type | Field and Description |
|---|---|
static String |
ABSENT |
XSObjectList |
fAnnotations |
boolean |
fDisallowedDefined |
QName[] |
fDisallowedNamesList |
boolean |
fDisallowedSibling |
String[] |
fNamespaceList |
short |
fProcessContents |
short |
fType |
NSCONSTRAINT_ANY, NSCONSTRAINT_LIST, NSCONSTRAINT_NOT, PC_LAX, PC_SKIP, PC_STRICT| Constructor and Description |
|---|
XSWildcardDecl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowName(String uri,
String localPart) |
boolean |
allowNamespace(String namespace)
Validation Rule: Wildcard allows Namespace Name
|
boolean |
allowQName(QName name)
XML Schema 1.1
Validation Rule: Wildcard allows Name
|
XSAnnotation |
getAnnotation()
Optional.
|
XSObjectList |
getAnnotations()
Optional.
|
short |
getConstraintType()
Namespace constraint: A constraint type: any, not, list.
|
String |
getName()
The
name of this XSObject depending on the
XSObject type. |
String |
getNamespace()
The namespace URI of this node, or
null if it is
unspecified. |
XSNamespaceItem |
getNamespaceItem()
A namespace schema information item corresponding to the target
namespace of the component, if it is globally declared; or
null otherwise. |
StringList |
getNsConstraintList()
Namespace constraint.
|
short |
getProcessContents()
{process contents} One of skip, lax or strict.
|
String |
getProcessContentsAsString()
String valid of {process contents}.
|
short |
getType()
Get the type of the object, i.e ELEMENT_DECLARATION.
|
String |
toString() |
boolean |
weakerProcessContents(XSWildcardDecl superWildcard)
Check whether this wildcard has a weaker process contents than the super.
|
public static final String ABSENT
public short fType
public short fProcessContents
public String[] fNamespaceList
public XSObjectList fAnnotations
public QName[] fDisallowedNamesList
public boolean fDisallowedDefined
public boolean fDisallowedSibling
public boolean allowNamespace(String namespace)
public final boolean allowQName(QName name)
public boolean weakerProcessContents(XSWildcardDecl superWildcard)
public short getType()
public String getName()
name of this XSObject depending on the
XSObject type.public String getNamespace()
null if it is
unspecified. defines how a namespace URI is attached to schema
components.getNamespace in interface XSObjectpublic short getConstraintType()
getConstraintType in interface XSWildcardpublic StringList getNsConstraintList()
constraintType
LIST_NSCONSTRAINT, the list contains allowed namespaces. For
constraintType NOT_NSCONSTRAINT, the list contains
disallowed namespaces.getNsConstraintList in interface XSWildcardpublic short getProcessContents()
getProcessContents in interface XSWildcardpublic String getProcessContentsAsString()
public XSAnnotation getAnnotation()
getAnnotation in interface XSWildcardpublic XSObjectList getAnnotations()
getAnnotations in interface XSWildcardpublic XSNamespaceItem getNamespaceItem()
XSObjectnull otherwise.getNamespaceItem in interface XSObjectXSObject.getNamespaceItem()Copyright © 2013. All rights reserved.