Class ClassType
java.lang.Object
org.simpleframework.xml.core.ClassType
- All Implemented Interfaces:
Type
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Annotation>
TgetAnnotation(Class<T> type) This is used to acquire an annotation of the specified type.getType()This is the class associated with this type.toString()This is used to describe the type as it exists within the owning class.
-
Field Details
-
type
This is the type that is represented by this instance.
-
-
Constructor Details
-
ClassType
Constructor for theClassTypeobject. This will create a type used to represent a stand alone object, such as an object being inserted in to a Java collection.- Parameters:
type- this is the class that this type represents
-
-
Method Details
-
getType
-
getAnnotation
This is used to acquire an annotation of the specified type. If no such annotation exists for the type then this will return null. Currently for classes this will always be null.- Specified by:
getAnnotationin interfaceType- Parameters:
type- this is the annotation type be be acquired- Returns:
- currently this method will always return null
-
toString
This is used to describe the type as it exists within the owning class. This is used to provide error messages that can be used to debug issues that occur when processing.
-