|
||||||||||
| 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.XSDElementDeclarationWrapp
public class XSDElementDeclarationWrapp
| 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 | |
|---|---|
XSDElementDeclarationWrapp(org.eclipse.xsd.XSDElementDeclaration xsdElementDeclaration)
Constructor for the XSDElementDeclarationWrapp object |
|
| Method Summary | |
|---|---|
SDElement |
getResolvedElementDeclaration(SDSchema schema)
Return the resolved element declaration in case of reference |
SDAnnotation |
getSchemaAnnotation()
Returns the annotation on this element |
int |
getType()
Provides type to generinc class |
SDSchemaContent |
getType(SDSchema schema)
Returns the type of this element |
java.lang.String |
getTypeName(SDSchema schema)
Gets the name of the type of this element |
boolean |
hasTypeDefinition()
Returns a boolean indicating wheter the type has a definition |
boolean |
isAnyType()
Indicates if this element is of any type |
boolean |
isEmpty(SDSchema schema)
Indicates if this element is empty or not |
boolean |
isRef()
Indicates if this element is a reference to an other element |
boolean |
isTypeAnonymous()
Returns a boolean indicating wheter the type is anonymous. |
| 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 XSDElementDeclarationWrapp(org.eclipse.xsd.XSDElementDeclaration xsdElementDeclaration)
xsdElementDeclaration - - xsdElementDeclaration the wrapped eclipse XSD element| Method Detail |
|---|
public boolean isTypeAnonymous()
isTypeAnonymous in interface SDElementtrue if the type is anonymous.public boolean hasTypeDefinition()
hasTypeDefinition in interface SDElementtrue if the type has definitionpublic SDSchemaContent getType(SDSchema schema)
getType in interface SDElementschema - - root schema
null if it is neither one nor the other.public SDElement getResolvedElementDeclaration(SDSchema schema)
getResolvedElementDeclaration in interface SDElementschema - - root schema
public java.lang.String getTypeName(SDSchema schema)
getTypeName in interface SDElementschema - - root schema
public SDAnnotation getSchemaAnnotation()
getSchemaAnnotation in interface SDElementpublic boolean isRef()
isRef in interface SDElementpublic boolean isAnyType()
isAnyType in interface SDElementpublic boolean isEmpty(SDSchema schema)
isEmpty in interface SDElementschema - - root schema
public int getType()
getType in interface SDSchemaContentSDSchemaContent.getType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||