public class ButtonContent
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString
Java class for button.content complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="button.content">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice maxOccurs="unbounded" minOccurs="0">
<element ref="{http://www.w3.org/1999/xhtml}p"/>
<choice>
<element ref="{http://www.w3.org/1999/xhtml}h1"/>
<element ref="{http://www.w3.org/1999/xhtml}h2"/>
<element ref="{http://www.w3.org/1999/xhtml}h3"/>
<element ref="{http://www.w3.org/1999/xhtml}h4"/>
<element ref="{http://www.w3.org/1999/xhtml}h5"/>
<element ref="{http://www.w3.org/1999/xhtml}h6"/>
</choice>
<element ref="{http://www.w3.org/1999/xhtml}div"/>
<choice>
<element ref="{http://www.w3.org/1999/xhtml}ul"/>
<element ref="{http://www.w3.org/1999/xhtml}ol"/>
<element ref="{http://www.w3.org/1999/xhtml}dl"/>
</choice>
<choice>
<element ref="{http://www.w3.org/1999/xhtml}pre"/>
<element ref="{http://www.w3.org/1999/xhtml}hr"/>
<element ref="{http://www.w3.org/1999/xhtml}blockquote"/>
<element ref="{http://www.w3.org/1999/xhtml}address"/>
</choice>
<element ref="{http://www.w3.org/1999/xhtml}table"/>
<choice>
<choice>
<element ref="{http://www.w3.org/1999/xhtml}br"/>
<element ref="{http://www.w3.org/1999/xhtml}span"/>
<element ref="{http://www.w3.org/1999/xhtml}bdo"/>
<element ref="{http://www.w3.org/1999/xhtml}map"/>
</choice>
<element ref="{http://www.w3.org/1999/xhtml}object"/>
<element ref="{http://www.w3.org/1999/xhtml}img"/>
</choice>
<choice>
<element ref="{http://www.w3.org/1999/xhtml}tt"/>
<element ref="{http://www.w3.org/1999/xhtml}i"/>
<element ref="{http://www.w3.org/1999/xhtml}b"/>
<element ref="{http://www.w3.org/1999/xhtml}big"/>
<element ref="{http://www.w3.org/1999/xhtml}small"/>
</choice>
<choice>
<element ref="{http://www.w3.org/1999/xhtml}em"/>
<element ref="{http://www.w3.org/1999/xhtml}strong"/>
<element ref="{http://www.w3.org/1999/xhtml}dfn"/>
<element ref="{http://www.w3.org/1999/xhtml}code"/>
<element ref="{http://www.w3.org/1999/xhtml}q"/>
<element ref="{http://www.w3.org/1999/xhtml}samp"/>
<element ref="{http://www.w3.org/1999/xhtml}kbd"/>
<element ref="{http://www.w3.org/1999/xhtml}var"/>
<element ref="{http://www.w3.org/1999/xhtml}cite"/>
<element ref="{http://www.w3.org/1999/xhtml}abbr"/>
<element ref="{http://www.w3.org/1999/xhtml}acronym"/>
<element ref="{http://www.w3.org/1999/xhtml}sub"/>
<element ref="{http://www.w3.org/1999/xhtml}sup"/>
</choice>
<choice>
<element ref="{http://www.w3.org/1999/xhtml}noscript"/>
<choice>
<element ref="{http://www.w3.org/1999/xhtml}ins"/>
<element ref="{http://www.w3.org/1999/xhtml}del"/>
<element ref="{http://www.w3.org/1999/xhtml}script"/>
</choice>
</choice>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
content |
| Constructor and Description |
|---|
ButtonContent() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
java.lang.StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy) |
boolean |
equals(java.lang.Object object) |
boolean |
equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy) |
java.util.List<java.lang.Object> |
getContent()
button uses "Flow" but excludes a, form and form controls
Gets the value of the content property.
|
int |
hashCode() |
int |
hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy) |
java.lang.String |
toString() |
ButtonContent |
withContent(java.util.Collection<java.lang.Object> values) |
ButtonContent |
withContent(java.lang.Object... values) |
public java.util.List<java.lang.Object> getContent()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the content property.
For example, to add a new item, do as follows:
getContent().add(newItem);
Objects of the following type(s) are allowed in the list
H5
Strong
Bdo
Ins
Span
Object
Sub
Ol
Sup
Script
Abbr
Map
Dl
H6
Blockquote
Pre
Dfn
String
Table
P
Hr
Q
B
H2
Div
Small
Samp
Cite
Ul
Del
Code
Var
H1
H3
Img
Noscript
Address
H4
Big
Br
Em
Tt
Kbd
Acronym
I
public ButtonContent withContent(java.lang.Object... values)
public ButtonContent withContent(java.util.Collection<java.lang.Object> values)
public boolean equals(org.jvnet.jaxb2_commons.locator.ObjectLocator thisLocator,
org.jvnet.jaxb2_commons.locator.ObjectLocator thatLocator,
java.lang.Object object,
org.jvnet.jaxb2_commons.lang.EqualsStrategy strategy)
equals in interface org.jvnet.jaxb2_commons.lang.Equalspublic boolean equals(java.lang.Object object)
equals in class java.lang.Objectpublic int hashCode(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
org.jvnet.jaxb2_commons.lang.HashCodeStrategy strategy)
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCodepublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToStringpublic java.lang.StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
java.lang.StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString