com.sun.xml.bind.v2.model.impl
abstract class TypeInfoImpl<TypeT,ClassDeclT,FieldT,MethodT> extends Object implements TypeInfo<TypeT,ClassDeclT>, Locatable
Field Summary | |
---|---|
protected ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> | builder
Reference to the ModelBuilder, only until we link TypeInfos all together,
because we don't want to keep ModelBuilder too long. |
protected TypeInfoSetImpl<TypeT,ClassDeclT,FieldT,MethodT> | owner
TypeInfoSet to which this class belongs. |
Constructor Summary | |
---|---|
protected | TypeInfoImpl(ModelBuilder<TypeT,ClassDeclT,FieldT,MethodT> builder, Locatable upstream) |
Method Summary | |
---|---|
Locatable | getUpstream() |
void | link() |
protected Navigator<TypeT,ClassDeclT,FieldT,MethodT> | nav() |
protected QName | parseElementName(ClassDeclT clazz)
Parses an XmlRootElement annotation on a class
and determine the element name.
|
protected QName | parseTypeName(ClassDeclT clazz) |
protected QName | parseTypeName(ClassDeclT clazz, XmlType t)
Parses a (potentially-null) XmlType annotation on a class
and determine the actual value.
|
protected AnnotationReader<TypeT,ClassDeclT,FieldT,MethodT> | reader() |
Returns: null if none was found.
Parameters: clazz The class on which the XmlType annotation is checked. t The XmlType annotation on the clazz. This value is taken as a parameter to improve the performance for the case where 't' is pre-computed.