public class PreContent
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 pre.content complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="pre.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}a"/>
<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}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>
<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>
<element ref="{http://www.w3.org/1999/xhtml}input"/>
<element ref="{http://www.w3.org/1999/xhtml}select"/>
<element ref="{http://www.w3.org/1999/xhtml}textarea"/>
<element ref="{http://www.w3.org/1999/xhtml}label"/>
<element ref="{http://www.w3.org/1999/xhtml}button"/>
</choice>
</choice>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.Object> |
content |
| Constructor and Description |
|---|
PreContent() |
| 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()
pre uses "Inline" excluding big, small, sup or sup
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() |
PreContent |
withContent(java.util.Collection<java.lang.Object> values) |
PreContent |
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
A
Strong
Label
Button
Bdo
Ins
Span
Sub
Sup
Script
Abbr
Map
Dfn
String
Select
Q
B
Input
Small
Samp
Cite
Del
Code
Var
Big
Br
Textarea
Em
Tt
Kbd
Acronym
I
public PreContent withContent(java.lang.Object... values)
public PreContent 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