PropertyInfo.
| Modifier and Type | Field and Description |
|---|---|
| private final Adapter | |
| private final MimeType | |
| private final ID | |
| private final boolean | |
| private final boolean | |
| protected final ClassInfoImpl | |
| private final QName | |
| protected final PropertySeed | seed
Object that reads annotations. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private ID | |
| protected final QName | calcXmlName(XmlElement e)
Computes the tag name from a |
| protected final QName | calcXmlName(XmlElementWrapper e)
Computes the tag name from a |
| private QName | |
| public int | compareTo(PropertyInfoImpl<T, C, F, M> that)
Implements java. Compares this object with the specified object for order. |
| public final String | displayName()
Implements org. Gets the display name of the property. |
| public Adapter | getAdapter()
Implements org. This is the default implementation of the getAdapter method
defined on many of the |
| private XmlJavaTypeAdapter | |
| public final MimeType | getExpectedMimeType()
Implements org. Expected MIME type, if any. |
| public T | |
| public Location | getLocation()
Implements org. Gets the location object that this object points to. |
| public final String | getName()
Implements org. Gets the name of the property. |
| public T | |
| public final QName | getSchemaType()
Implements org. The effective value of |
| public Locatable | getUpstream()
Implements org. A is always referenced by its enclosing class, so return that as the upstream. |
| public final boolean | hasAnnotation(Class<? extends Annotation> annotationType)
Implements org. Returns true if the property has the specified annotation. |
| public final ID | id()
Implements org. Returns the IDness of the value of this element. |
| public final boolean | inlineBinaryData()
Implements org. If this is true and this property indeed represents a binary data, it should be always inlined. |
| private boolean | isApplicable(XmlJavaTypeAdapter jta, T declaredType)
Checks if the given adapter is applicable to the declared property type. |
| public final boolean | isCollection()
Implements org. Returns true if this is a multi-valued collection property. |
| protected void | |
| protected final Navigator | |
| public ClassInfoImpl | parent()
Implements org. Gets the |
| public final <A extends Annotation> A | readAnnotation(Class<A> annotationType)
Implements org. Gets the value of the specified annotation from the given property. |
| protected final AnnotationReader |
| adapter | back to summary |
|---|---|
| private final Adapter<T, C> adapter | |
| expectedMimeType | back to summary |
|---|---|
| private final MimeType expectedMimeType | |
| id | back to summary |
|---|---|
| private final ID id | |
| inlineBinary | back to summary |
|---|---|
| private final boolean inlineBinary | |
| isCollection | back to summary |
|---|---|
| private final boolean isCollection | |
| parent | back to summary |
|---|---|
| protected final ClassInfoImpl<T, C, F, M> parent | |
| schemaType | back to summary |
|---|---|
| private final QName schemaType | |
| seed | back to summary |
|---|---|
| protected final PropertySeed<T, C, F, M> seed Object that reads annotations. | |
| PropertyInfoImpl | back to summary |
|---|---|
| protected PropertyInfoImpl(ClassInfoImpl<T, C, F, M> parent, PropertySeed<T, C, F, M> spi) | |
| calcId | back to summary |
|---|---|
| private ID calcId() | |
| calcXmlName | back to summary |
|---|---|
| protected final QName calcXmlName(XmlElement e) Computes the tag name from a | |
| calcXmlName | back to summary |
|---|---|
| protected final QName calcXmlName(XmlElementWrapper e) Computes the tag name from a | |
| calcXmlName | back to summary |
|---|---|
| private QName calcXmlName(String uri, String local) | |
| compareTo | back to summary |
|---|---|
| public int compareTo(PropertyInfoImpl<T, C, F, M> that) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| displayName | back to summary |
|---|---|
| public final String displayName() Implements org. Doc from org. Gets the display name of the property.
This is a convenience method for
| |
| getAdapter | back to summary |
|---|---|
| public Adapter Implements org. This is the default implementation of the getAdapter method
defined on many of the
| |
| getApplicableAdapter | back to summary |
|---|---|
| private XmlJavaTypeAdapter getApplicableAdapter(T type) | |
| getExpectedMimeType | back to summary |
|---|---|
| public final MimeType getExpectedMimeType() Implements org. Doc from org. Expected MIME type, if any.
| |
| getIndividualType | back to summary |
|---|---|
| public T getIndividualType() | |
| getLocation | back to summary |
|---|---|
| public Location getLocation() Implements org. Doc from org. Gets the location object that this object points to. This operation could be inefficient and costly.
| |
| getName | back to summary |
|---|---|
| public final String getName() Implements org. Doc from org. Gets the name of the property. For example, "foo" or "bar". Generally, a property name is different from XML, (although they are often related, as a property name is often computed from tag names / attribute names.) In fact, property names do not directly affect XML. The property name uniquely identifies a property within a class.
| |
| getRawType | back to summary |
|---|---|
| public T getRawType() | |
| getSchemaType | back to summary |
|---|---|
| public final QName getSchemaType() Implements org. Doc from org. The effective value of
If the property doesn't have
Since a type name is a property of a Java type, not a Java property,
A schema type name of a Java type should be primarily obtained
by using
| |
| getUpstream | back to summary |
|---|---|
| public Locatable getUpstream() Implements org. A is always referenced by its enclosing class, so return that as the upstream.
| |
| hasAnnotation | back to summary |
|---|---|
| public final boolean hasAnnotation(Class<? extends Annotation> annotationType) Implements org. Doc from org. Returns true if the property has the specified annotation.
Short for
| |
| id | back to summary |
|---|---|
| public final ID id() Implements org. Doc from org. Returns the IDness of the value of this element.
| |
| inlineBinaryData | back to summary |
|---|---|
| public final boolean inlineBinaryData() Implements org. Doc from org. If this is true and this property indeed represents a binary data, it should be always inlined.
| |
| isApplicable | back to summary |
|---|---|
| private boolean isApplicable(XmlJavaTypeAdapter jta, T declaredType) Checks if the given adapter is applicable to the declared property type. | |
| isCollection | back to summary |
|---|---|
| public final boolean isCollection() Implements org. Doc from org. Returns true if this is a multi-valued collection property. Otherwise false, in which case the property is a single value.
| |
| link | back to summary |
|---|---|
| protected void link() Called after all the | |
| nav | back to summary |
|---|---|
| protected final Navigator | |
| parent | back to summary |
|---|---|
| public ClassInfoImpl Implements org. Doc from org. Gets the
| |
| readAnnotation | back to summary |
|---|---|
| public final <A extends Annotation> A readAnnotation(Class<A> annotationType) Implements org. Doc from org. Gets the value of the specified annotation from the given property. When this method is used for a property that consists of a getter and setter, it returns the annotation on either of those methods. If both methods have the same annotation, it is an error.
| |
| reader | back to summary |
|---|---|
| protected final AnnotationReader | |