org.codehaus.enunciate.contract.jaxb
Class ComplexTypeDefinition
java.lang.Object
net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedMemberDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedTypeDeclaration
net.sf.jelly.apt.decorations.declaration.DecoratedClassDeclaration
org.codehaus.enunciate.contract.jaxb.TypeDefinition
org.codehaus.enunciate.contract.jaxb.SimpleTypeDefinition
org.codehaus.enunciate.contract.jaxb.ComplexTypeDefinition
- All Implemented Interfaces:
- com.sun.mirror.declaration.ClassDeclaration, com.sun.mirror.declaration.Declaration, com.sun.mirror.declaration.MemberDeclaration, com.sun.mirror.declaration.TypeDeclaration
public class ComplexTypeDefinition
- extends SimpleTypeDefinition
A complex type definition.
- Author:
- Ryan Heaton
| Methods inherited from class org.codehaus.enunciate.contract.jaxb.TypeDefinition |
addOrReplace, aggregatePotentialAccessors, generateExampleJson, generateExampleXml, getAccessorOrder, getAccessType, getAnyElement, getAttributes, getClientSimpleName, getElements, getInheritedAccessType, getName, getNamespace, getPackage, getPropertyOrder, getQname, getReferencedFrom, getSchema, getValue, getXmlID, isAnonymous, isAnyAttribute, isAnyElement, isAttribute, isElementRef, isEnum, isHasAnyAttribute, isUnsupported, isValue, isXmlTransient, loadPotentialAccessors, overrides, remove |
| Methods inherited from class net.sf.jelly.apt.decorations.declaration.DecoratedDeclaration |
equals, getAnnotationMirrors, getAnnotations, getDelegate, getDocComment, getDocValue, getJavaDoc, getModifiers, getPosition, getSimpleName, isAbstract, isFinal, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVolatile, toString |
| Methods inherited from interface com.sun.mirror.declaration.TypeDeclaration |
getFields, getFormalTypeParameters, getNestedTypes, getQualifiedName, getSuperinterfaces |
| Methods inherited from interface com.sun.mirror.declaration.MemberDeclaration |
getDeclaringType |
| Methods inherited from interface com.sun.mirror.declaration.Declaration |
equals, getAnnotationMirrors, getDocComment, getModifiers, getPosition, getSimpleName |
ComplexTypeDefinition
public ComplexTypeDefinition(com.sun.mirror.declaration.ClassDeclaration delegate)
getBaseType
public XmlType getBaseType()
- Description copied from class:
SimpleTypeDefinition
- The base type for this simple type, or null if none exists.
- Overrides:
getBaseType in class SimpleTypeDefinition
- Returns:
- The base type for this simple type.
getCompositorName
public String getCompositorName()
- The compositor for this type definition.
- Returns:
- The compositor for this type definition.
getContentType
public ContentType getContentType()
- The content type of this complex type definition.
- Returns:
- The content type of this complex type definition.
isSimple
public boolean isSimple()
- Description copied from class:
TypeDefinition
- Whether this is a simple type.
- Overrides:
isSimple in class SimpleTypeDefinition
- Returns:
- Whether this is a simple type.
isComplex
public boolean isComplex()
- Description copied from class:
TypeDefinition
- Whether this is a complex type.
- Overrides:
isComplex in class TypeDefinition
- Returns:
- Whether this is a complex type.
isBaseObject
public boolean isBaseObject()
- Description copied from class:
TypeDefinition
- Whether this type definition is a base object (i.e. a root of the object hierarchy).
- Overrides:
isBaseObject in class TypeDefinition
- Returns:
- Whether this type definition is a base object
accept
public ValidationResult accept(Validator validator)
- Description copied from class:
TypeDefinition
- Accept a validator.
- Overrides:
accept in class SimpleTypeDefinition
- Parameters:
validator - The validator to accept.
- Returns:
- The validation results.