org.jibx.xsd2jibx
Class XsdElement
java.lang.Object
org.jibx.xsd2jibx.XsdStructure
org.jibx.xsd2jibx.XsdFeature
org.jibx.xsd2jibx.XsdElement
public class XsdElement
- extends XsdFeature
Methods inherited from class org.jibx.xsd2jibx.XsdStructure |
createXsdType, getGenerator, getParentComplexType, getSchema, getTargetNamespace, getXsdType, isImportedFromBase, setGenerator, setImportedFromBase, setName, setParentComplexType, setSchema |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XsdElement
public XsdElement(XsdElement original)
- Creates a copy/clone.
XsdElement
public XsdElement()
toString
public java.lang.String toString()
- Overrides:
toString
in class XsdFeature
copy
public XsdElement copy()
clone
public java.lang.Object clone()
- Overrides:
clone
in class java.lang.Object
getFieldList
public java.lang.String getFieldList()
getAddMethod
public java.lang.String getAddMethod()
getSizeMethod
public java.lang.String getSizeMethod()
importRef
protected void importRef()
- Specified by:
importRef
in class XsdFeature
getName
public java.lang.String getName()
- Overrides:
getName
in class XsdStructure
getType
public XsdType getType()
- returns the type prefixed with the namespace uri if present
- Overrides:
getType
in class XsdFeature
getUse
public java.lang.String getUse()
getMin
public int getMin()
getMax
public int getMax()
isRequired
public boolean isRequired()
- The element is required if the minOccurs is greater than 0.
- Specified by:
isRequired
in class XsdFeature
isCollection
public boolean isCollection()
onlyOne
public boolean onlyOne()
getComplexType
public XsdComplexType getComplexType()
isComplexType
public boolean isComplexType()
getSimpleType
public XsdSimpleType getSimpleType()
isSimpleType
public boolean isSimpleType()
setType
public void setType(XsdType type)
setMaxOccurs
public void setMaxOccurs(java.lang.String maxOccurs)
setMinOccurs
public void setMinOccurs(java.lang.String minOccurs)
setComplexType
public void setComplexType(XsdComplexType complexType)