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 int
UNBOUNDED
-
Constructor Summary
Constructors Constructor Description Element()
-
Method Summary
Modifier and Type Method Description String
getComment()
int
getMaxOccurs()
int
getMinOccurs()
QName
getName()
Element
getRef()
Type
getType()
boolean
isGlobal()
boolean
isNillable()
boolean
isRef()
void
setComment(String comment)
void
setGlobal(boolean isGlobal)
void
setMaxOccurs(int maxOccurs)
void
setMinOccurs(int minOccurs)
void
setName(QName name)
void
setNillable(boolean isNillable)
void
setRef(Element ref)
void
setType(Type type)
String
toString()
-
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
-