org.apache.ws.commons.schema
Class XmlSchemaAny
java.lang.Object
org.apache.ws.commons.schema.XmlSchemaObject
org.apache.ws.commons.schema.XmlSchemaAnnotated
org.apache.ws.commons.schema.XmlSchemaParticle
org.apache.ws.commons.schema.XmlSchemaAny
- All Implemented Interfaces:
- XmlSchemaObjectBase, XmlSchemaAllMember, XmlSchemaChoiceMember, XmlSchemaSequenceMember
public class XmlSchemaAny
- extends XmlSchemaParticle
- implements XmlSchemaChoiceMember, XmlSchemaSequenceMember, XmlSchemaAllMember
Enables any element from the specified namespace or namespaces to appear in the containing complexType
element. Represents the World Wide Web Consortium (W3C) any element.
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject |
addMetaInfo, equals, getLineNumber, getLinePosition, getMetaInfoMap, getSourceURI, hashCode, setLineNumber, setLinePosition, setMetaInfoMap, setSourceURI |
XmlSchemaAny
public XmlSchemaAny()
- Creates new XmlSchemaAny
getNamespace
public String getNamespace()
setNamespace
public void setNamespace(String namespace)
getProcessContent
public XmlSchemaContentProcessing getProcessContent()
setProcessContent
public void setProcessContent(XmlSchemaContentProcessing processContent)
getTargetNamespace
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.
- Returns:
- The wildcard element's target namespace.
setTargetNamespace
public void setTargetNamespace(String namespace)
- Sets the schema's target namespace.
- Parameters:
namespace
- The schema's target namespace.- See Also:
getTargetNamespace()
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.