public class XmlSchemaAny extends XmlSchemaParticle implements XmlSchemaChoiceMember, XmlSchemaSequenceMember, XmlSchemaAllMember
DEFAULT_MAX_OCCURS, DEFAULT_MIN_OCCURS
Constructor and Description |
---|
XmlSchemaAny()
Creates new XmlSchemaAny
|
Modifier and Type | Method and Description |
---|---|
String |
getNamespace() |
XmlSchemaContentProcessing |
getProcessContent() |
String |
getTargetNamespace()
getNamespace() returns the namespace or set of namespaces
that this wildcard element is valid for. |
void |
setNamespace(String namespace) |
void |
setProcessContent(XmlSchemaContentProcessing processContent) |
void |
setTargetNamespace(String namespace)
Sets the schema's target namespace.
|
getMaxOccurs, getMinOccurs, setMaxOccurs, setMinOccurs
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes, toString
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI
public String getNamespace()
public void setNamespace(String namespace)
public XmlSchemaContentProcessing getProcessContent()
public void setProcessContent(XmlSchemaContentProcessing processContent)
public String getTargetNamespace()
getNamespace()
returns the namespace or set of namespaces
that this wildcard element is valid for. The target namespaces may
include ##other
, ##targetNamespace
. The
##other
directive means any namespace other than the
schema's target namespace, while the ##targetNamespace
directive means the element must be in the schema's target
namespace. Resolving either of these requires knowledge of what
the schema's target namespace is, which is returned by this method.public void setTargetNamespace(String namespace)
namespace
- The schema's target namespace.getTargetNamespace()
Copyright © 2004–2017 The Apache Software Foundation. All rights reserved.