| com.sun.xml.bind.v2.model.impl.ClassInfoImpl
ClassInfoImpl | class ClassInfoImpl extends TypeInfoImpl implements ClassInfo<T, C>,Element<T, C>(Code) | | A part of the
ClassInfo that doesn't depend on a particular
reflection library.
author: Kohsuke Kawaguchi (kk@kohsuke.org) |
Field Summary | |
protected PropertySeed<T, C, F, M> | attributeWildcard If this class has a declared (not inherited) attribute wildcard, keep the reference
to it. | final protected C | clazz |
Method Summary | |
public Element<T, C> | asElement() | public boolean | canBeReferencedByIDREF() A
ClassInfo can be referenced by
XmlIDREF if
it has an ID property. | protected void | checkFieldXmlLocation(F f) This hook is used by
RuntimeClassInfoImpl to look for
XmlLocation . | protected PropertySeed<T, C, F, M> | createAccessorSeed(M getter, M setter) Creates a new
GetterSetterPropertySeed object. | protected AttributePropertyInfoImpl<T, C, F, M> | createAttributeProperty(PropertySeed<T, C, F, M> seed) | protected ElementPropertyInfoImpl<T, C, F, M> | createElementProperty(PropertySeed<T, C, F, M> seed) | protected PropertySeed<T, C, F, M> | createFieldSeed(F f) Creates a new
FieldPropertySeed object. | protected MapPropertyInfoImpl<T, C, F, M> | createMapProperty(PropertySeed<T, C, F, M> seed) | protected ReferencePropertyInfoImpl<T, C, F, M> | createReferenceProperty(PropertySeed<T, C, F, M> seed) | protected ValuePropertyInfoImpl<T, C, F, M> | createValueProperty(PropertySeed<T, C, F, M> seed) | final public boolean | declaresAttributeWildcard() | public ClassInfoImpl<T, C, F, M> | getBaseClass() | final public C | getClazz() | final public QName | getElementName() | public Method | getFactoryMethod() | public Location | getLocation() | final public String | getName() | public List<? extends PropertyInfo<T, C>> | getProperties() | public PropertyInfo<T, C> | getProperty(String name) | public ClassInfoImpl<T, C, F, M> | getScope() When a bean binds to an element, it's always through
XmlRootElement ,
so this method always return null. | final public Element<T, C> | getSubstitutionHead() The substitution hierarchy is the same as the inheritance hierarchy. | final public T | getType() | final public QName | getTypeName() | final public boolean | hasAttributeWildcard() | public boolean | hasProperties() | final public boolean | hasSubClasses() | final public boolean | hasValueProperty() | final public boolean | inheritsAttributeWildcard() | public boolean | isAbstract() | final public boolean | isElement() | final public boolean | isFinal() | public boolean | isOrdered() | final public boolean | isSimpleType() | void | link() Called after all the
TypeInfo s are collected into the
ClassInfoImpl.owner . | public A | readAnnotation(Class<A> a) | public String | toString() |
attributeWildcard | protected PropertySeed<T, C, F, M> attributeWildcard(Code) | | If this class has a declared (not inherited) attribute wildcard, keep the reference
to it.
This parameter is initialized at the construction time and never change.
|
clazz | final protected C clazz(Code) | | |
canBeReferencedByIDREF | public boolean canBeReferencedByIDREF()(Code) | | A
ClassInfo can be referenced by
XmlIDREF if
it has an ID property.
|
createFieldSeed | protected PropertySeed<T, C, F, M> createFieldSeed(F f)(Code) | | Creates a new
FieldPropertySeed object.
Derived class can override this method to create a sub-class.
|
declaresAttributeWildcard | final public boolean declaresAttributeWildcard()(Code) | | |
getClazz | final public C getClazz()(Code) | | |
getElementName | final public QName getElementName()(Code) | | |
getSubstitutionHead | final public Element<T, C> getSubstitutionHead()(Code) | | The substitution hierarchy is the same as the inheritance hierarchy.
|
getType | final public T getType()(Code) | | |
hasAttributeWildcard | final public boolean hasAttributeWildcard()(Code) | | |
hasProperties | public boolean hasProperties()(Code) | | |
hasSubClasses | final public boolean hasSubClasses()(Code) | | |
hasValueProperty | final public boolean hasValueProperty()(Code) | | |
inheritsAttributeWildcard | final public boolean inheritsAttributeWildcard()(Code) | | |
isAbstract | public boolean isAbstract()(Code) | | |
isElement | final public boolean isElement()(Code) | | |
isFinal | final public boolean isFinal()(Code) | | |
isOrdered | public boolean isOrdered()(Code) | | |
isSimpleType | final public boolean isSimpleType()(Code) | | |
readAnnotation | public A readAnnotation(Class<A> a)(Code) | | |
|
|