public class SchemaLocalAttributeImpl extends Object implements SchemaLocalAttribute, SchemaWSDLArrayType
| Modifier and Type | Field and Description |
|---|---|
protected XmlObject |
_parseObject |
OPTIONAL, PROHIBITED, REQUIRED| Constructor and Description |
|---|
SchemaLocalAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
SchemaAnnotation |
getAnnotation()
Returns the Schema annotation object or null if none present
|
String |
getDefaultText()
The default value as plain text.
|
XmlAnySimpleType |
getDefaultValue()
The default value as a strongly-typed value.
|
BigInteger |
getMaxOccurs()
Returns the maxOccurs value for this particle, or null if it
is unbounded.
|
BigInteger |
getMinOccurs()
Returns the minOccurs value for this particle.
|
QName |
getName()
Returns the form-unqualified-or-qualified name.
|
SchemaType |
getType()
Returns the type of this use.
|
SchemaType.Ref |
getTypeRef() |
int |
getUse()
|
Object |
getUserData()
Returns user-specific information.
|
SOAPArrayType |
getWSDLArrayType() |
void |
init(QName name,
SchemaType.Ref typeref,
int use,
String deftext,
XmlObject parseObject,
XmlValueRef defvalue,
boolean isFixed,
SOAPArrayType wsdlArray,
SchemaAnnotation ann,
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) |
protected XmlObject _parseObject
public void init(QName name, SchemaType.Ref typeref, int use, String deftext, XmlObject parseObject, XmlValueRef defvalue, boolean isFixed, SOAPArrayType wsdlArray, SchemaAnnotation ann, 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 QName getName()
SchemaFieldgetName in interface SchemaFieldpublic 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()
SchemaFieldisFixed in interface SchemaFieldpublic boolean isAttribute()
SchemaFieldisAttribute in interface SchemaFieldpublic SchemaAnnotation getAnnotation()
SchemaAnnotatedgetAnnotation in interface SchemaAnnotatedpublic SchemaType getType()
SchemaFieldgetType in interface SchemaFieldpublic SchemaType.Ref getTypeRef()
public BigInteger getMinOccurs()
SchemaFieldgetMinOccurs in interface SchemaFieldpublic BigInteger getMaxOccurs()
SchemaFieldgetMaxOccurs in interface SchemaFieldpublic boolean isNillable()
SchemaFieldisNillable 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 Object getUserData()
SchemaFieldgetUserData in interface SchemaFieldSchemaBookmark