|
||||||||||
| 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.XSDComplexTypeDefinitionWrapp
public class XSDComplexTypeDefinitionWrapp
| Field Summary |
|---|
| Fields inherited from interface fr.tireme.schemadoc.SDSchema.SDComplexType |
|---|
EXTENSION, EXTENSION_STRING, NO_DERIVATION, NO_DERIVATION_STRING, RESTRICTION, RESTRICTION_STRING |
| 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 | |
|---|---|
XSDComplexTypeDefinitionWrapp(org.eclipse.xsd.XSDComplexTypeDefinition xsdComplexTypeDefinition)
Constructor for the XSDComplexTypeDefinitionWrapp object |
|
| Method Summary | |
|---|---|
SDSchemaContent |
cloneBaseTypeDefinition()
Clones the base type definition. |
java.util.List |
getAttributeContents()
Gets this complexType attribute contents |
SDSchemaContent |
getBaseTypeDefinition(SDSchema schema)
Gets the base type definition (SDComplexType or SDSimpleType) |
java.lang.String |
getCategory()
Gets the category of this complex type. |
SDConcreteComponent |
getContent()
Returns the Complex Type content |
int |
getDerivationType()
Gets the derivation's type of this type |
java.lang.String |
getDerivationTypeAsString()
Gets the derivation's type of this type |
java.util.List |
getDerivedAttributeContents(SDSchema schema)
Gets the attributes of the derived complex type |
SDAnnotation |
getSchemaAnnotation()
Returns the annotation on this complexType |
int |
getType()
Provides type to generinc class |
boolean |
hasAttributes()
Indicates if this complexType has attributes |
boolean |
hasContent()
Returns true if this complexType has some content |
boolean |
hasDerivedTypeAttributes(SDSchema schema)
Returns true if the base type has some attributes |
boolean |
isAnyType()
|
boolean |
isDerived()
Gets whether the type is explicitly derived or not |
boolean |
isDerivedTypeContentModelAny(SDSchema schema)
Returns true if the base type content model is any |
boolean |
isDerivedTypeContentModelEmpty(SDSchema schema)
Returns true if the base type content model is empty |
boolean |
isEmpty()
Is this complex type empty? |
boolean |
isMixed()
Indicates if the type is mixed. |
| 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 XSDComplexTypeDefinitionWrapp(org.eclipse.xsd.XSDComplexTypeDefinition xsdComplexTypeDefinition)
xsdComplexTypeDefinition - the eclipse xsd complexType object to wrap| Method Detail |
|---|
public boolean isAnyType()
isAnyType in interface SDComplexTypepublic boolean isMixed()
isMixed in interface SDComplexTypetrue if the type is mixedpublic java.lang.String getCategory()
getCategory in interface SDComplexTypepublic boolean isEmpty()
isEmpty in interface SDComplexTypepublic SDConcreteComponent getContent()
getContent in interface SDComplexTypeSDSimpleType,SDParticle , or
nullpublic SDSchemaContent getBaseTypeDefinition(SDSchema schema)
getBaseTypeDefinition in interface SDComplexTypeschema - - root schema
public SDSchemaContent cloneBaseTypeDefinition()
cloneBaseTypeDefinition in interface SDComplexTypepublic boolean hasDerivedTypeAttributes(SDSchema schema)
hasDerivedTypeAttributes in interface SDComplexTypeschema - - root schema
public boolean isDerivedTypeContentModelEmpty(SDSchema schema)
isDerivedTypeContentModelEmpty in interface SDComplexTypeschema - - root schema
public boolean isDerivedTypeContentModelAny(SDSchema schema)
isDerivedTypeContentModelAny in interface SDComplexTypeschema - - root schema
public java.util.List getDerivedAttributeContents(SDSchema schema)
getDerivedAttributeContents in interface SDComplexTypeschema - - root schema
public boolean hasContent()
hasContent in interface SDComplexTypepublic boolean hasAttributes()
hasAttributes in interface SDComplexTypetrue if this complexType has attributespublic java.util.List getAttributeContents()
getAttributeContents in interface SDComplexTypeXSDAttributeUseWrapp and XSDAttributeGroupDefinitionWrapp
contained in this complexTypepublic SDAnnotation getSchemaAnnotation()
getSchemaAnnotation in interface SDComplexTypepublic boolean isDerived()
isDerived in interface SDComplexTypepublic int getDerivationType()
getDerivationType in interface SDComplexTypepublic java.lang.String getDerivationTypeAsString()
getDerivationTypeAsString in interface SDComplexTypepublic int getType()
getType in interface SDSchemaContentSDSchemaContent.getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||