Package org.w3.xlink

Class 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>
     
    • Field Detail

      • lang

        protected String lang
        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.
    • Constructor Detail

      • TitleEltType

        public TitleEltType()
    • 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 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 Object String Element

        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 is TypeType
      • 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
      • setLang

        public void setLang​(String value)
        Sets the value of the lang property.
        Parameters:
        value - allowed object is String
        See Also:
        getLang()