org.apache.ws.commons.schema
Class XmlSchemaParticle

java.lang.Object
  extended by org.apache.ws.commons.schema.XmlSchemaObject
      extended by org.apache.ws.commons.schema.XmlSchemaAnnotated
          extended by org.apache.ws.commons.schema.XmlSchemaParticle
Direct Known Subclasses:
XmlSchemaAny, XmlSchemaElement, XmlSchemaGroupBase, XmlSchemaGroupRef

public class XmlSchemaParticle
extends XmlSchemaAnnotated

Base class for all particle types.

Author:
mukund

Field Summary
(package private)  long maxOccurs
           
(package private)  java.lang.String maxOccursString
           
(package private)  long minOccurs
           
(package private)  java.lang.String minOccursString
           
 
Fields inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
annotation, id, unhandledAttributes
 
Fields inherited from class org.apache.ws.commons.schema.XmlSchemaObject
lineNumber, linePosition, sourceURI
 
Constructor Summary
XmlSchemaParticle()
          Creates new XmlSchemaParticle Particle types are usually interchangeable.
 
Method Summary
 long getMaxOccurs()
           
 long getMinOccurs()
           
 void setMaxOccurs(long maxOccurs)
           
 void setMinOccurs(long minOccurs)
           
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaAnnotated
getAnnotation, getId, getUnhandledAttributes, setAnnotation, setId, setUnhandledAttributes
 
Methods inherited from class org.apache.ws.commons.schema.XmlSchemaObject
equals, getLineNumber, getLinePosition, getSourceURI, setLineNumber, setLinePosition, setSourceURI, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

maxOccurs

long maxOccurs

maxOccursString

java.lang.String maxOccursString

minOccurs

long minOccurs

minOccursString

java.lang.String minOccursString
Constructor Detail

XmlSchemaParticle

public XmlSchemaParticle()
Creates new XmlSchemaParticle Particle types are usually interchangeable. A local element declaration or reference to a global element declaration (element), a compositor ( sequence, choice, or all), a reference to a named content model group (group), or an element wildcard (any).

Method Detail

setMaxOccurs

public void setMaxOccurs(long maxOccurs)

getMaxOccurs

public long getMaxOccurs()

setMinOccurs

public void setMinOccurs(long minOccurs)

getMinOccurs

public long getMinOccurs()


Copyright 2004-2004-2006 Apache Software Foundation. All Rights Reserved.