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

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
                  extended bynet.sf.jaxme.xs.xml.impl.XsEAnyImpl
All Implemented Interfaces:
XsAGOccurs, XsEAny, XsObject, XsTAnnotated, XsTNestedParticle, XsTOpenAttrs, XsTParticle, XsTWildcard

public class XsEAnyImpl
extends XsTWildcardImpl
implements XsEAny

Implementation of the xs:any element, as specified by the following:

  <xs:element name="any" id="any">
    <xs:annotation>
      <xs:documentation source="http://www.w3.org/TR/xmlschema-1/#element-any"/>
    </xs:annotation>
    <xs:complexType>
      <xs:complexContent>
        <xs:extension base="xs:wildcard">
          <xs:attributeGroup ref="xs:occurs"/>
        </xs:extension>
      </xs:complexContent>
    </xs:complexType>
  </xs:element>
 

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 XsEAnyImpl(XsObject pParent)
           
 
Method Summary
 int getMaxOccurs()
          -1 for 'unbounded'
 int getMinOccurs()
           
 void setMaxOccurs(java.lang.String pMaxOccurs)
          Either of 'unbounded' or a nonnegative integer value.
 void setMinOccurs(int pMinOccurs)
           
 
Methods inherited from class net.sf.jaxme.xs.xml.impl.XsTWildcardImpl
getNamespace, getProcessContents, setNamespace, setProcessContents
 
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.XsTWildcard
getNamespace, getProcessContents, setNamespace, setProcessContents
 
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
 
Methods inherited from interface net.sf.jaxme.xs.xml.XsAGOccurs
validate
 

Constructor Detail

XsEAnyImpl

protected XsEAnyImpl(XsObject pParent)
Method Detail

setMaxOccurs

public void setMaxOccurs(java.lang.String pMaxOccurs)
Description copied from interface: XsAGOccurs

Either of 'unbounded' or a nonnegative integer value.

Specified by:
setMaxOccurs in interface XsAGOccurs

getMaxOccurs

public int getMaxOccurs()
Description copied from interface: XsAGOccurs

-1 for 'unbounded'

Specified by:
getMaxOccurs in interface XsAGOccurs

setMinOccurs

public void setMinOccurs(int pMinOccurs)
Specified by:
setMinOccurs in interface XsAGOccurs

getMinOccurs

public int getMinOccurs()
Specified by:
getMinOccurs in interface XsAGOccurs