|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.w3.xlink.Simple
public class Simple
Intended for use as the type of user-declared elements to make them simple links.
Java class for simple complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="simple">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{http://www.w3.org/1999/xlink}simpleModel"/>
<attGroup ref="{http://www.w3.org/1999/xlink}simpleAttrs"/>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected ActuateType |
actuate
|
protected String |
arcrole
|
protected List<Object> |
content
|
protected String |
href
|
protected String |
role
|
protected ShowType |
show
|
protected String |
title
|
protected TypeType |
type
|
| Constructor Summary | |
|---|---|
Simple()
Default no-arg constructor |
|
Simple(List<Object> content,
TypeType type,
String href,
String role,
String arcrole,
String title,
ShowType show,
ActuateType actuate)
Fully-initialising value constructor |
|
| Method Summary | |
|---|---|
StringBuilder |
append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
StringBuilder |
appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
|
ActuateType |
getActuate()
Gets the value of the actuate property. |
String |
getArcrole()
Gets the value of the arcrole property. |
List<Object> |
getContent()
Intended for use as the type of user-declared elements to make them simple links. |
String |
getHref()
Gets the value of the href property. |
String |
getRole()
Gets the value of the role property. |
ShowType |
getShow()
Gets the value of the show property. |
String |
getTitle()
Gets the value of the title property. |
TypeType |
getType()
Gets the value of the type property. |
void |
setActuate(ActuateType value)
Sets the value of the actuate property. |
void |
setArcrole(String value)
Sets the value of the arcrole property. |
void |
setContent(List<Object> value)
|
void |
setHref(String value)
Sets the value of the href property. |
void |
setRole(String value)
Sets the value of the role property. |
void |
setShow(ShowType value)
Sets the value of the show property. |
void |
setTitle(String value)
Sets the value of the title property. |
void |
setType(TypeType value)
Sets the value of the type property. |
String |
toString()
|
Simple |
withActuate(ActuateType value)
|
Simple |
withArcrole(String value)
|
Simple |
withContent(Collection<Object> values)
|
Simple |
withContent(List<Object> value)
|
Simple |
withContent(Object... values)
|
Simple |
withHref(String value)
|
Simple |
withRole(String value)
|
Simple |
withShow(ShowType value)
|
Simple |
withTitle(String value)
|
Simple |
withType(TypeType value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected List<Object> content
protected TypeType type
protected String href
protected String role
protected String arcrole
protected String title
protected ShowType show
protected ActuateType actuate
| Constructor Detail |
|---|
public Simple()
public Simple(List<Object> content,
TypeType type,
String href,
String role,
String arcrole,
String title,
ShowType show,
ActuateType actuate)
| Method Detail |
|---|
public List<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
String
Element
Object
public TypeType getType()
TypeTypepublic void setType(TypeType value)
value - allowed object is
TypeTypepublic String getHref()
Stringpublic void setHref(String value)
value - allowed object is
Stringpublic String getRole()
Stringpublic void setRole(String value)
value - allowed object is
Stringpublic String getArcrole()
Stringpublic void setArcrole(String value)
value - allowed object is
Stringpublic String getTitle()
Stringpublic void setTitle(String value)
value - allowed object is
Stringpublic ShowType getShow()
ShowTypepublic void setShow(ShowType value)
value - allowed object is
ShowTypepublic ActuateType getActuate()
ActuateTypepublic void setActuate(ActuateType value)
value - allowed object is
ActuateTypepublic void setContent(List<Object> value)
public String toString()
toString in class Object
public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
append in interface org.jvnet.jaxb2_commons.lang.ToString
public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
StringBuilder buffer,
org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
appendFields in interface org.jvnet.jaxb2_commons.lang.ToStringpublic Simple withContent(Object... values)
public Simple withContent(Collection<Object> values)
public Simple withType(TypeType value)
public Simple withHref(String value)
public Simple withRole(String value)
public Simple withArcrole(String value)
public Simple withTitle(String value)
public Simple withShow(ShowType value)
public Simple withActuate(ActuateType value)
public Simple withContent(List<Object> value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||