net.sf.jaxme.xs.xml.impl
Class XsTWildcardImpl

java.lang.Object
  extended bynet.sf.jaxme.xs.xml.impl.XsObjectImpl
      extended bynet.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
          extended bynet.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
              extended bynet.sf.jaxme.xs.xml.impl.XsTWildcardImpl
All Implemented Interfaces:
XsObject, XsTAnnotated, XsTOpenAttrs, XsTWildcard
Direct Known Subclasses:
XsEAnyImpl

public class XsTWildcardImpl
extends XsTAnnotatedImpl
implements XsTWildcard

Implementation of the xs:wildcard type, with the following specification:

  <xs:complexType name="wildcard">
    <xs:complexContent>
      <xs:extension base="xs:annotated">
        <xs:attribute name="namespace" type="xs:namespaceList" use="optional" default="##any"/>
        <xs:attribute name="processContents" use="optional" default="strict"
          <xs:simpleType>
            <xs:restriction base="xs:NMTOKEN">
              <xs:enumeration value="skip"/>
              <xs:enumeration value="lax"/>
              <xs:enumeration value="strict"/>
            </xs:restriction>
          </xs:simpleType>
        </xs:attribute>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
 

Author:
Jochen Wiedmann

Nested Class Summary
 
Nested classes inherited from class net.sf.jaxme.xs.xml.XsTWildcard
XsTWildcard.ProcessContents
 
Field Summary
 
Fields inherited from interface net.sf.jaxme.xs.xml.XsTWildcard
LAX, SKIP, STRICT
 
Constructor Summary
protected XsTWildcardImpl(XsObject pParent)
           
 
Method Summary
 XsNamespaceList getNamespace()
           
 XsTWildcard.ProcessContents getProcessContents()
           
 void setNamespace(XsNamespaceList pList)
           
 void setProcessContents(XsTWildcard.ProcessContents pProcessContents)
           
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTAnnotatedImpl
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTOpenAttrsImpl
getOpenAttributes, setAttribute
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsObjectImpl
asXsQName, getContext, getLocator, getNamespaceSupport, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, isValidated, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsTAnnotated
createAnnotation, getAnnotation, getId, setId
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsObject
getLocator, getObjectFactory, getParentObject, getXsESchema, isTopLevelObject, validate
 

Constructor Detail

XsTWildcardImpl

protected XsTWildcardImpl(XsObject pParent)
Method Detail

setNamespace

public void setNamespace(XsNamespaceList pList)
Specified by:
setNamespace in interface XsTWildcard

getNamespace

public XsNamespaceList getNamespace()
Specified by:
getNamespace in interface XsTWildcard

setProcessContents

public void setProcessContents(XsTWildcard.ProcessContents pProcessContents)
Specified by:
setProcessContents in interface XsTWildcard

getProcessContents

public XsTWildcard.ProcessContents getProcessContents()
Specified by:
getProcessContents in interface XsTWildcard