|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.tireme.schemadoc.SDSchema.XSD.SDConcreteComponentImpl
fr.tireme.schemadoc.SDSchema.XSD.SDSchemaContentImpl
fr.tireme.schemadoc.SDSchema.XSD.XSDAttributeDeclarationWrapp
public class XSDAttributeDeclarationWrapp
| Field Summary |
|---|
| Fields inherited from interface fr.tireme.schemadoc.SDSchema.SDSchemaContent |
|---|
TYPE_ATTRIBUTE, TYPE_ATTRIBUTE_LABEL, TYPE_ATTRIBUTEGROUP, TYPE_ATTRIBUTEGROUP_LABEL, TYPE_COMPLEXTYPE, TYPE_COMPLEXTYPE_LABEL, TYPE_ELEMENT, TYPE_ELEMENT_LABEL, TYPE_GROUP, TYPE_GROUP_LABEL, TYPE_NOTATION, TYPE_NOTATION_LABEL, TYPE_SIMPLETYPE, TYPE_SIMPLETYPE_LABEL |
| Constructor Summary | |
|---|---|
XSDAttributeDeclarationWrapp(org.eclipse.xsd.XSDAttributeDeclaration xsdAttributeDeclaration)
Constructor for the XSDAttributeDeclarationWrapp object |
|
| Method Summary | |
|---|---|
java.lang.String |
getDefaultValue()
Gets the value of the default constraint, if any |
java.lang.String |
getFixedValue()
Gets the value of the fixed constraint, if any |
SDAttribute |
getResolvedAttributeDeclaration(SDSchema schema)
Gets the referenced attribute |
SDAnnotation |
getSchemaAnnotation()
Returns the annotation on this attribute |
int |
getType()
Provides type to generinc class |
SDSimpleType |
getTypeDefinition(SDSchema schema)
Gets the simpleType of this attribute |
boolean |
isAttributeDeclarationReference()
Indicates if this attribute is a reference |
boolean |
isDefaultConstraint()
Returns true if a default constraint have been set to this attribute, false otherwise |
boolean |
isFixedConstraint()
Returns true if a fixed constraint have been set to this attribute, false otherwise |
boolean |
isSetConstraint()
Returns whether the value of the 'Constraint' attribute is set. |
boolean |
isTypeAnonymous()
Returns true if the attribute is based on a pre-defined type |
| Methods inherited from class fr.tireme.schemadoc.SDSchema.XSD.SDSchemaContentImpl |
|---|
getName, getQName, getSchema, getTargetNamespace, isGlobal |
| Methods inherited from class fr.tireme.schemadoc.SDSchema.XSD.SDConcreteComponentImpl |
|---|
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDSchemaContent |
|---|
getName, getQName, getSchema, getTargetNamespace, isGlobal |
| Methods inherited from interface fr.tireme.schemadoc.SDSchema.SDConcreteComponent |
|---|
cloneObject, getContainerDomElement, getDomElement, getID, getLocalRootID, getWrappedObject, isAny, isAnyAttribute, isContainerNull, setID |
| Constructor Detail |
|---|
public XSDAttributeDeclarationWrapp(org.eclipse.xsd.XSDAttributeDeclaration xsdAttributeDeclaration)
xsdAttributeDeclaration - - the wrapped attribute from eclipse XSD| Method Detail |
|---|
public SDSimpleType getTypeDefinition(SDSchema schema)
getTypeDefinition in interface SDAttributeschema - - root schema
public SDAttribute getResolvedAttributeDeclaration(SDSchema schema)
getResolvedAttributeDeclaration in interface SDAttributeschema - - root schema
public boolean isAttributeDeclarationReference()
isAttributeDeclarationReference in interface SDAttributepublic boolean isTypeAnonymous()
isTypeAnonymous in interface SDAttributepublic SDAnnotation getSchemaAnnotation()
getSchemaAnnotation in interface SDAttributepublic boolean isSetConstraint()
isSetConstraint in interface SDAttributepublic boolean isDefaultConstraint()
isDefaultConstraint in interface SDConstraintpublic boolean isFixedConstraint()
isFixedConstraint in interface SDConstraintpublic java.lang.String getFixedValue()
getFixedValue in interface SDConstraintpublic java.lang.String getDefaultValue()
getDefaultValue in interface SDConstraintpublic int getType()
getType in interface SDSchemaContentSDSchemaContent.getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||