|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.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()
SchemaLocalAttributeSchemaLocalAttribute.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 SchemaLocalAttributepublic javax.xml.namespace.QName getName()
SchemaField
getName in interface SchemaFieldpublic java.lang.String getDefaultText()
SchemaFieldSchemaField.isDefault() and SchemaField.isFixed().
getDefaultText in interface SchemaFieldpublic boolean isDefault()
SchemaFieldSchemaField.isFixed(), then isDefault is always true.
isDefault in interface SchemaFieldpublic boolean isFixed()
SchemaField
isFixed in interface SchemaFieldpublic boolean isAttribute()
SchemaField
isAttribute in interface SchemaFieldpublic SchemaAnnotation getAnnotation()
SchemaAnnotated
getAnnotation in interface SchemaAnnotatedpublic SchemaType getType()
SchemaField
getType in interface SchemaFieldpublic SchemaType.Ref getTypeRef()
public java.math.BigInteger getMinOccurs()
SchemaField
getMinOccurs in interface SchemaFieldpublic java.math.BigInteger getMaxOccurs()
SchemaField
getMaxOccurs in interface SchemaFieldpublic boolean isNillable()
SchemaField
isNillable in interface SchemaFieldpublic SOAPArrayType getWSDLArrayType()
getWSDLArrayType in interface SchemaWSDLArrayTypepublic XmlAnySimpleType getDefaultValue()
SchemaFieldSchemaField.isDefault() and SchemaField.isFixed().
getDefaultValue in interface SchemaFieldpublic void setDefaultValue(XmlValueRef defaultRef)
public java.lang.Object getUserData()
SchemaField
getUserData in interface SchemaFieldSchemaBookmark
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||