ClassInfo that doesn't depend on a particular
reflection library.
| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class | |
| private static enum | ClassInfoImpl.
Represents 7 groups of properties. |
| private class | ClassInfoImpl.
Compares orders among |
| private static enum | ClassInfoImpl.
Represents 6 groups of secondary annotations |
| Modifier and Type | Field and Description |
|---|---|
| private static final HashMap | ANNOTATION_NUMBER_MAP
All the annotations in JAXB to their internal index. |
| protected PropertySeed | attributeWildcard
If this class has a declared (not inherited) attribute wildcard, keep the reference to it. |
| private ClassInfoImpl | baseClass
Lazily computed. |
| private boolean | |
| protected final C | |
| private static final String[] | |
| private final QName | |
| private static final Annotation[] | |
| private M | |
| private boolean | |
| private FinalArrayList | properties
Lazily created. |
| private String[] | propOrder
The property order. |
| private static final ClassInfoImpl. | |
| private final QName |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| private void | addProperty(PropertySeed<T, C, F, M> seed, Annotation[]
all annotations on this property. It's the same as
annotations, boolean dummy)seed.readAllAnnotation(), but taken as a parameter
because the caller should know it already.Called only from |
| public Element | |
| public boolean | canBeReferencedByIDREF()
Implements org. A |
| private void | |
| protected void | checkFieldXmlLocation(F f)
This hook is used by |
| private void | |
| protected PropertySeed | |
| protected AttributePropertyInfo | |
| protected ElementPropertyInfo | |
| protected PropertySeed | |
| protected MapPropertyInfo | |
| protected ReferencePropertyInfo | |
| protected ValuePropertyInfo | |
| public final boolean | declaresAttributeWildcard()
Implements org. Returns true iff this class declares a wildcard attribute. |
| private void | ensureNoAnnotation(M method)
Makes sure that the method doesn't have any annotation, if it does, report it as an error |
| private void | |
| private void | |
| private XmlAccessOrder | |
| private XmlAccessType | |
| public ClassInfoImpl | getBaseClass()
Implements org. Obtains the information about the base class. |
| private <T extends Annotation> T | getClassOrPackageAnnotation(Class<T> type)
Gets an annotation that are allowed on both class and type. |
| public final C | getClazz()
Implements org. Gets the declaration this object is wrapping. |
| public final QName | getElementName()
Implements org. Gets the element name of the class. |
| public Method | |
| private PropertySeed | |
| public Location | getLocation()
Implements org. Gets the location object that this object points to. |
| public final String | getName()
Implements org. Gets the fully-qualified name of the class. |
| public List | getProperties()
Implements org. Returns all the properties newly declared in this class. |
| public PropertyInfo | getProperty(String name)
Implements org. Gets the property that has the specified name. |
| private static String | Returns: null if the method name doesn't look like a getter.Returns "Foo" from "getFoo" or "isFoo". |
| private static String | Returns: null if the method name doesn't look like a setter.Returns "Foo" from "setFoo". |
| public ClassInfoImpl | getScope()
Implements org.
Deprecated
you shouldn't be invoking this method on .
When a bean binds to an element, it's always through |
| private static Annotation | |
| public final Element | getSubstitutionHead()
Implements org. If this element can substitute another element, return that element. |
| public final T | getType()
Implements org. Gets the underlying Java type that object represents. |
| public final QName | getTypeName()
Implements org. Gets the primary XML type ANYTYPE_NAME of the class. |
| private boolean | |
| public final boolean | hasAttributeWildcard()
Implements org. Returns true if this bean class has an attribute wildcard. |
| private boolean | Returns: true if the factory method was found. False if not.XmlType allows specification of factoryClass and factoryMethod. |
| private static boolean | |
| public boolean | hasProperties()
Implements org. If the class has properties, return true. |
| public final boolean | hasSubClasses()
Implements org. True if there's a known sub-type of this class in |
| public final boolean | hasValueProperty()
Implements org. Returns true if this class or its ancestor has |
| public final boolean | inheritsAttributeWildcard()
Implements org. Returns true iff this class inherits a wildcard attribute from its ancestor classes. |
| public boolean | isAbstract()
Implements org. If this class is abstract and thus shall never be directly instanciated. |
| private boolean | |
| private boolean | |
| public final boolean | isElement()
Implements org. If the class is bound to an element, return true. |
| public final boolean | isFinal()
Implements org. If this class is marked as final and no further extension/restriction is allowed. |
| private static boolean | |
| public boolean | isOrdered()
Implements org. Returns true if the properties of this class is ordered in XML. |
| public final boolean | isSimpleType()
Implements org. Returns true if this maps to text in XML, without any attribute nor child elements. |
| pack-priv void | link()
Overrides org. Called after all the |
| private static <T> List | |
| private static <T> T | |
| public <A extends Annotation> A | |
| private void | |
| private boolean | shouldRecurseSuperClass(C sc)
Checks if the properties in this given super class should be aggregated into this class. |
| public String |