org.w3.xlink
Class Simple

java.lang.Object
  extended by org.w3.xlink.Simple
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.ToString

public class Simple
extends Object
implements org.jvnet.jaxb2_commons.lang.ToString

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

content

protected List<Object> content

type

protected TypeType type

href

protected String href

role

protected String role

arcrole

protected String arcrole

title

protected String title

show

protected ShowType show

actuate

protected ActuateType actuate
Constructor Detail

Simple

public Simple()
Default no-arg constructor


Simple

public Simple(List<Object> content,
              TypeType type,
              String href,
              String role,
              String arcrole,
              String title,
              ShowType show,
              ActuateType actuate)
Fully-initialising value constructor

Method Detail

getContent

public List<Object> getContent()
Intended for use as the type of user-declared elements to make them simple links. Gets the value of the content property.

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


getType

public TypeType getType()
Gets the value of the type property.

Returns:
possible object is TypeType

setType

public void setType(TypeType value)
Sets the value of the type property.

Parameters:
value - allowed object is TypeType

getHref

public String getHref()
Gets the value of the href property.

Returns:
possible object is String

setHref

public void setHref(String value)
Sets the value of the href property.

Parameters:
value - allowed object is String

getRole

public String getRole()
Gets the value of the role property.

Returns:
possible object is String

setRole

public void setRole(String value)
Sets the value of the role property.

Parameters:
value - allowed object is String

getArcrole

public String getArcrole()
Gets the value of the arcrole property.

Returns:
possible object is String

setArcrole

public void setArcrole(String value)
Sets the value of the arcrole property.

Parameters:
value - allowed object is String

getTitle

public String getTitle()
Gets the value of the title property.

Returns:
possible object is String

setTitle

public void setTitle(String value)
Sets the value of the title property.

Parameters:
value - allowed object is String

getShow

public ShowType getShow()
Gets the value of the show property.

Returns:
possible object is ShowType

setShow

public void setShow(ShowType value)
Sets the value of the show property.

Parameters:
value - allowed object is ShowType

getActuate

public ActuateType getActuate()
Gets the value of the actuate property.

Returns:
possible object is ActuateType

setActuate

public void setActuate(ActuateType value)
Sets the value of the actuate property.

Parameters:
value - allowed object is ActuateType

setContent

public void setContent(List<Object> value)

toString

public String toString()
Overrides:
toString in class Object

append

public StringBuilder append(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                            StringBuilder buffer,
                            org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
append in interface org.jvnet.jaxb2_commons.lang.ToString

appendFields

public StringBuilder appendFields(org.jvnet.jaxb2_commons.locator.ObjectLocator locator,
                                  StringBuilder buffer,
                                  org.jvnet.jaxb2_commons.lang.ToStringStrategy strategy)
Specified by:
appendFields in interface org.jvnet.jaxb2_commons.lang.ToString

withContent

public Simple withContent(Object... values)

withContent

public Simple withContent(Collection<Object> values)

withType

public Simple withType(TypeType value)

withHref

public Simple withHref(String value)

withRole

public Simple withRole(String value)

withArcrole

public Simple withArcrole(String value)

withTitle

public Simple withTitle(String value)

withShow

public Simple withShow(ShowType value)

withActuate

public Simple withActuate(ActuateType value)

withContent

public Simple withContent(List<Object> value)


Copyright © 2014 Digipost Open Source. All Rights Reserved.