|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSDFeature
A representation of the model object 'Feature'.
It is used to represent aspects common to
'Element Declarations
' and
'Attribute Declaration
'.
The following features are supported:
XSDPackage.getXSDFeature()
Method Summary | |
---|---|
XSDConstraint |
getConstraint()
Returns the value of the 'Constraint' attribute. |
XSDForm |
getForm()
Returns the value of the 'Form' attribute. |
java.lang.String |
getLexicalValue()
Returns the value of the 'Lexical Value' attribute |
XSDFeature |
getResolvedFeature()
Returns the value of the 'Resolved Feature' reference |
XSDScope |
getScope()
Returns the value of the 'Scope' reference |
XSDTypeDefinition |
getType()
Returns the value of the 'Type' reference |
java.lang.Object |
getValue()
Returns the value of the 'Value' attribute |
boolean |
isFeatureReference()
Returns the value of the 'Feature Reference' attribute |
boolean |
isGlobal()
Returns the value of the 'Global' attribute |
boolean |
isSetConstraint()
Returns whether the value of the ' Constraint ' attribute is set |
boolean |
isSetForm()
Returns whether the value of the ' Form ' attribute is set |
void |
setConstraint(XSDConstraint value)
Sets the value of the ' Constraint ' attribute |
void |
setForm(XSDForm value)
Sets the value of the ' Form ' attribute |
void |
setLexicalValue(java.lang.String value)
Sets the value of the ' Lexical Value ' attribute |
void |
setValue(java.lang.Object value)
Sets the value of the ' Value ' attribute |
void |
unsetConstraint()
Unsets the value of the ' Constraint ' attribute |
void |
unsetForm()
Unsets the value of the ' Form ' attribute |
Methods inherited from interface org.eclipse.xsd.XSDNamedComponent |
---|
getAliasName, getAliasURI, getName, getQName, getQName, getTargetNamespace, getURI, hasNameAndTargetNamespace, hasSameNameAndTargetNamespace, hasURI, setName, setTargetNamespace |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Method Detail |
---|
java.lang.Object getValue()
This represents the value of the
attribute value constraint or
element value constraint
infoset property.
It is computed from the lexical value
and should typically not be set directly.
setValue(Object)
,
XSDPackage.getXSDFeature_Value()
void setValue(java.lang.Object value)
Value
' attribute.
value
- the new value of the 'Value' attribute.getValue()
XSDConstraint getConstraint()
XSDConstraint
.
This represents the constraint of the attribute value constraint or element value constraint infoset property.
XSDConstraint
,
isSetConstraint()
,
unsetConstraint()
,
setConstraint(XSDConstraint)
,
XSDPackage.getXSDFeature_Constraint()
void setConstraint(XSDConstraint value)
Constraint
' attribute.
value
- the new value of the 'Constraint' attribute.XSDConstraint
,
isSetConstraint()
,
unsetConstraint()
,
getConstraint()
void unsetConstraint()
Constraint
' attribute.
isSetConstraint()
,
getConstraint()
,
setConstraint(XSDConstraint)
boolean isSetConstraint()
Constraint
' attribute is set.
unsetConstraint()
,
getConstraint()
,
setConstraint(XSDConstraint)
XSDForm getForm()
XSDForm
.
This concrete attribute represents the value of the
attribute form attribute or the
element form attribute.
It, along with the
attribute form default
and
element form default
of the schema,
affects the target namespace
of locally scoped features.
XSDSchema.getAttributeFormDefault()
,
XSDSchema.getElementFormDefault()
,
XSDForm
,
isSetForm()
,
unsetForm()
,
setForm(XSDForm)
,
XSDPackage.getXSDFeature_Form()
void setForm(XSDForm value)
Form
' attribute.
value
- the new value of the 'Form' attribute.XSDForm
,
isSetForm()
,
unsetForm()
,
getForm()
void unsetForm()
Form
' attribute.
isSetForm()
,
getForm()
,
setForm(XSDForm)
boolean isSetForm()
Form
' attribute is set.
unsetForm()
,
getForm()
,
setForm(XSDForm)
java.lang.String getLexicalValue()
This concrete attribute represents the value of the attribute fixed or default attribute or the element fixed or default attribute.
setLexicalValue(String)
,
XSDPackage.getXSDFeature_LexicalValue()
void setLexicalValue(java.lang.String value)
Lexical Value
' attribute.
value
- the new value of the 'Lexical Value' attribute.getLexicalValue()
boolean isGlobal()
This indicates whether the feature is globally scoped
.
Its value is false if the feature is declared within
a complex type definition
,
an attribute group definition
,
or a model group definition
.
XSDPackage.getXSDFeature_Global()
boolean isFeatureReference()
This is the same result as either
the 'Element Reference
' attribute or
the 'Attribute Reference
' attribute.
XSDPackage.getXSDFeature_FeatureReference()
XSDScope getScope()
This represents the attribute scope or element scope infoset property.
XSDPackage.getXSDFeature_Scope()
XSDTypeDefinition getType()
This is the same result as either
the element 'Type Definition
' reference or
the attribute 'Type Definition
' reference.
XSDPackage.getXSDFeature_Type()
XSDFeature getResolvedFeature()
This is the same result as either
the 'Resolved Element Declaration
' reference or
the 'Resolved Attribute Declaration
' reference.
XSDPackage.getXSDFeature_ResolvedFeature()
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |