Class Element
java.lang.Object
org.apache.xmlbeans.impl.inst2xsd.util.Element
public class Element extends Object
- Author:
- Cezar Andrei (cezar.andrei at bea.com) Date: Jul 16, 2004
-
Field Summary
Fields Modifier and Type Field Description static intUNBOUNDED -
Constructor Summary
Constructors Constructor Description Element() -
Method Summary
Modifier and Type Method Description StringgetComment()intgetMaxOccurs()intgetMinOccurs()QNamegetName()ElementgetRef()TypegetType()booleanisGlobal()booleanisNillable()booleanisRef()voidsetComment(String comment)voidsetGlobal(boolean isGlobal)voidsetMaxOccurs(int maxOccurs)voidsetMinOccurs(int minOccurs)voidsetName(QName name)voidsetNillable(boolean isNillable)voidsetRef(Element ref)voidsetType(Type type)StringtoString()
-
Field Details
-
UNBOUNDED
public static final int UNBOUNDED- See Also:
- Constant Field Values
-
-
Constructor Details
-
Element
public Element()
-
-
Method Details
-
getName
-
setName
-
isRef
public boolean isRef() -
getRef
-
setRef
-
isGlobal
public boolean isGlobal() -
setGlobal
public void setGlobal(boolean isGlobal) -
getMinOccurs
public int getMinOccurs() -
setMinOccurs
public void setMinOccurs(int minOccurs) -
getMaxOccurs
public int getMaxOccurs() -
setMaxOccurs
public void setMaxOccurs(int maxOccurs) -
isNillable
public boolean isNillable() -
setNillable
public void setNillable(boolean isNillable) -
getType
-
setType
-
getComment
-
setComment
-
toString
-