|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xmlbeans.impl.schema.SchemaLocalAttributeImpl
public class SchemaLocalAttributeImpl
Field Summary | |
---|---|
protected XmlObject |
_parseObject
|
Fields inherited from interface org.apache.xmlbeans.SchemaLocalAttribute |
---|
OPTIONAL, PROHIBITED, REQUIRED |
Constructor Summary | |
---|---|
SchemaLocalAttributeImpl()
|
Method Summary | |
---|---|
SchemaAnnotation |
getAnnotation()
Returns the Schema annotation object or null if none present |
java.lang.String |
getDefaultText()
The default value as plain text. |
XmlAnySimpleType |
getDefaultValue()
The default value as a strongly-typed value. |
java.math.BigInteger |
getMaxOccurs()
Returns the maxOccurs value for this particle, or null if it is unbounded. |
java.math.BigInteger |
getMinOccurs()
Returns the minOccurs value for this particle. |
javax.xml.namespace.QName |
getName()
Returns the form-unqualified-or-qualified name. |
SchemaType |
getType()
Returns the type of this use. |
SchemaType.Ref |
getTypeRef()
|
int |
getUse()
Returns SchemaLocalAttribute.PROHIBITED , SchemaLocalAttribute.OPTIONAL , or SchemaLocalAttribute.REQUIRED . |
java.lang.Object |
getUserData()
Returns user-specific information. |
SOAPArrayType |
getWSDLArrayType()
|
void |
init(javax.xml.namespace.QName name,
SchemaType.Ref typeref,
int use,
java.lang.String deftext,
XmlObject parseObject,
XmlValueRef defvalue,
boolean isFixed,
SOAPArrayType wsdlArray,
SchemaAnnotation ann,
java.lang.Object userData)
|
boolean |
isAttribute()
True if this use is an attribute |
boolean |
isDefault()
True if a default is supplied. |
boolean |
isFixed()
True if the value is fixed. |
boolean |
isNillable()
True if nillable; always false for attributes. |
boolean |
isTypeResolved()
|
void |
resolveTypeRef(SchemaType.Ref typeref)
|
void |
setDefaultValue(XmlValueRef defaultRef)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected XmlObject _parseObject
Constructor Detail |
---|
public SchemaLocalAttributeImpl()
Method Detail |
---|
public void init(javax.xml.namespace.QName name, SchemaType.Ref typeref, int use, java.lang.String deftext, XmlObject parseObject, XmlValueRef defvalue, boolean isFixed, SOAPArrayType wsdlArray, SchemaAnnotation ann, java.lang.Object userData)
public boolean isTypeResolved()
public void resolveTypeRef(SchemaType.Ref typeref)
public int getUse()
SchemaLocalAttribute
SchemaLocalAttribute.PROHIBITED
, SchemaLocalAttribute.OPTIONAL
, or SchemaLocalAttribute.REQUIRED
.
(Actually, never returns PROHIBITED because the schema specificaion
states that a prohibited attribute is equivalent to no attribute
at all, so a prohibited attribute will never be present in the compiled
model.)
getUse
in interface SchemaLocalAttribute
public javax.xml.namespace.QName getName()
SchemaField
getName
in interface SchemaField
public java.lang.String getDefaultText()
SchemaField
SchemaField.isDefault()
and SchemaField.isFixed()
.
getDefaultText
in interface SchemaField
public boolean isDefault()
SchemaField
SchemaField.isFixed()
, then isDefault is always true.
isDefault
in interface SchemaField
public boolean isFixed()
SchemaField
isFixed
in interface SchemaField
public boolean isAttribute()
SchemaField
isAttribute
in interface SchemaField
public SchemaAnnotation getAnnotation()
SchemaAnnotated
getAnnotation
in interface SchemaAnnotated
public SchemaType getType()
SchemaField
getType
in interface SchemaField
public SchemaType.Ref getTypeRef()
public java.math.BigInteger getMinOccurs()
SchemaField
getMinOccurs
in interface SchemaField
public java.math.BigInteger getMaxOccurs()
SchemaField
getMaxOccurs
in interface SchemaField
public boolean isNillable()
SchemaField
isNillable
in interface SchemaField
public SOAPArrayType getWSDLArrayType()
getWSDLArrayType
in interface SchemaWSDLArrayType
public XmlAnySimpleType getDefaultValue()
SchemaField
SchemaField.isDefault()
and SchemaField.isFixed()
.
getDefaultValue
in interface SchemaField
public void setDefaultValue(XmlValueRef defaultRef)
public java.lang.Object getUserData()
SchemaField
getUserData
in interface SchemaField
SchemaBookmark
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |