| com.sun.xml.bind.v2.model.core.PropertyInfo
PropertyInfo | public interface PropertyInfo extends AnnotationSource(Code) | | Information about a JAXB-bound property.
All the JAXB annotations are already incorporated into the model so that
the caller doesn't have to worry about reading them. For this reason, you
cannot access annotations on properties directly.
TODO: don't we need a visitor?
author: Kohsuke Kawaguchi |
displayName | String displayName()(Code) | | Gets the display name of the property.
This is a convenience method for
parent().getName()+'#'+getName() .
|
getAdapter | Adapter<T, C> getAdapter()(Code) | | null if the property is not adapted. |
getExpectedMimeType | MimeType getExpectedMimeType()(Code) | | Expected MIME type, if any.
|
getName | String getName()(Code) | | 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.
See Also: XmlType.propOrder |
getSchemaType | QName getSchemaType()(Code) | | The effective value of
XmlSchemaType annotation, if any.
If the property doesn't have
XmlSchemaType annotation,
this method returns null.
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
NonElement.getTypeName . This method is to correctly
implement the ugly semantics of
XmlSchemaType (namely
when this returns non-null, it overrides the type names of all types
that are in this property.)
|
id | ID id()(Code) | | Returns the IDness of the value of this element.
See Also: XmlID See Also: XmlIDREFalways non-null |
inlineBinaryData | boolean inlineBinaryData()(Code) | | If this is true and this property indeed represents a binary data,
it should be always inlined.
|
isCollection | boolean isCollection()(Code) | | Returns true if this is a multi-valued collection property.
Otherwise false, in which case the property is a single value.
|
ref | Collection<? extends TypeInfo<T, C>> ref()(Code) | | List of
TypeInfo s that this property references.
This allows the caller to traverse the reference graph without
getting into the details of each different property type.
non-null read-only collection. |
|
|