org.apache.commons.betwixt.schema
Class LocalElement

java.lang.Object
  extended by org.apache.commons.betwixt.schema.LocalElement
All Implemented Interfaces:
Element
Direct Known Subclasses:
ComplexLocalElement, SimpleLocalElement

public class LocalElement
extends Object
implements Element

Version:
$Revision: 561314 $
Author:
Apache Commons Team

Field Summary
protected  String maxOccurs
           
protected  int minOccurs
           
protected  String name
           
 
Constructor Summary
LocalElement(ElementDescriptor descriptor, Schema schema)
           
LocalElement(String name)
           
 
Method Summary
 String getMaxOccurs()
           
 int getMinOccurs()
           
 String getName()
           
 void setMaxOccurs(String maxOccurs)
           
 void setMinOccurs(int minOccurs)
           
 void setName(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected String name

maxOccurs

protected String maxOccurs

minOccurs

protected int minOccurs
Constructor Detail

LocalElement

public LocalElement(String name)

LocalElement

public LocalElement(ElementDescriptor descriptor,
                    Schema schema)
             throws IntrospectionException
Throws:
IntrospectionException
Method Detail

getName

public String getName()
Specified by:
getName in interface Element

setName

public void setName(String string)

getMinOccurs

public int getMinOccurs()

setMinOccurs

public void setMinOccurs(int minOccurs)

getMaxOccurs

public String getMaxOccurs()

setMaxOccurs

public void setMaxOccurs(String maxOccurs)


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.