Package org.w3.xlink
Class TitleEltType
- java.lang.Object
-
- org.w3.xlink.TitleEltType
-
public class TitleEltType extends Object
Java class for titleEltType complex type
.The following schema fragment specifies the expected content contained within this class.
<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>
-
-
Constructor Summary
Constructors Constructor Description TitleEltType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getContent()Gets the value of the content property.StringgetLang()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.TypeTypegetType()Gets the value of the type property.voidsetLang(String value)Sets the value of the lang property.voidsetType(TypeType value)Sets the value of the type property.
-
-
-
Method Detail
-
getContent
public List<Object> getContent()
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
setmethod 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
ObjectStringElement- Returns:
- The value of the content property.
-
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 isTypeType
-
getLang
public 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.- Returns:
- possible object is
String
-
-