| Modifier and Type | Method and Description |
|---|---|
| public Adapter | |
| public List | Returns: Always non-null. Contains at least one entry. IfisValueList()==true, there's always exactly one type.Returns the information about the types allowed in this property. |
| public QName | Returns: must be null ifisCollection()==false or
if isValueList()==true.
Otherwise,
this can be null (in which case there'll be no wrapper),
or it can be non-null (in which case there'll be a wrapper)Gets the wrapper element name. |
| public boolean | isCollectionNillable()
Returns true if this property is nillable (meaning the absence of the value is treated as nil='true') This method is only used when this property is a collection. |
| public boolean | Returns: Always false ifgetXmlName()==null.Checks if the wrapper element is required. |
| public boolean | |
| public boolean | isValueList()
Returns true if this property is a collection but its XML representation is a list of values, not repeated elements. |
| getAdapter | back to summary |
|---|---|
| public Adapter Redeclares org.
| |
| getTypes | back to summary |
|---|---|
| public List Returns the information about the types allowed in this property.
In a simple case like the following, an element property only has
one @XmlElement String abc; However, in a general case an element property can be heterogeneous, meaning you can put different types in it, each with a different tag name (and a few other settings.)
In this case this method returns a list of two
| |
| getXmlName | back to summary |
|---|---|
| public QName getXmlName() Gets the wrapper element name.
| |
| isCollectionNillable | back to summary |
|---|---|
| public boolean isCollectionNillable() Returns true if this property is nillable (meaning the absence of the value is treated as nil='true') This method is only used when this property is a collection. | |
| isCollectionRequired | back to summary |
|---|---|
| public boolean isCollectionRequired() Checks if the wrapper element is required.
| |
| isRequired | back to summary |
|---|---|
| public boolean isRequired() Returns true if this element is mandatory. For collections, this property isn't used. Todo define the semantics when this is a collection | |
| isValueList | back to summary |
|---|---|
| public boolean isValueList() Returns true if this property is a collection but its XML representation is a list of values, not repeated elements.
If
When this flag is true, | |