public class TitleEltType extends Object implements Serializable, org.jvnet.jaxb2_commons.lang.ToString
Clase Java para titleEltType complex type.
El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase.
<complexType name="titleEltType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<group ref="{http://www.w3.org/1999/xlink}titleModel"/>
<attGroup ref="{http://www.w3.org/1999/xlink}titleAttrs"/>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
content |
protected String |
lang |
protected TypeType |
type |
| Constructor and Description |
|---|
TitleEltType() |
| Modifier and Type | Method and Description |
|---|---|
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) |
List<Object> |
getContent()
Gets the value of the content property.
|
String |
getLang()
xml:lang is not required, but provides much of the
motivation for title elements in addition to attributes, and so
is provided here for convenience.
|
TypeType |
getType()
Obtiene el valor de la propiedad type.
|
boolean |
isSetContent() |
boolean |
isSetLang() |
boolean |
isSetType() |
void |
setLang(String value)
Define el valor de la propiedad lang.
|
void |
setType(TypeType value)
Define el valor de la propiedad type.
|
String |
toString() |
void |
unsetContent() |
TitleEltType |
withContent(Collection<Object> values) |
TitleEltType |
withContent(Object... values) |
TitleEltType |
withLang(String value) |
TitleEltType |
withType(TypeType value) |
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
Object
Element
public boolean isSetContent()
public void unsetContent()
public TypeType getType()
TypeTypepublic void setType(TypeType value)
value - allowed object is
TypeTypepublic boolean isSetType()
public String getLang()
Stringpublic void setLang(String value)
value - allowed object is
Stringpublic boolean isSetLang()
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.ToStringpublic 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 TitleEltType withContent(Object... values)
public TitleEltType withContent(Collection<Object> values)
public TitleEltType withType(TypeType value)
public TitleEltType withLang(String value)
Copyright © 2014. All Rights Reserved.