org.sdmx.resources.sdmxml.schemas.v2_1.common
Class XHTMLType

java.lang.Object
  extended by org.sdmx.resources.sdmxml.schemas.v2_1.common.XHTMLType

public class XHTMLType
extends Object

XHTMLType allows for mixed content of text and XHTML tags. When using this type, one will have to provide a reference to the XHTML schema, since the processing of the tags within this type is strict, meaning that they are validated against the XHTML schema provided.

Java class for XHTMLType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="XHTMLType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <any namespace='http://www.w3.org/1999/xhtml'/>
       </sequence>
       <attribute ref="{http://www.w3.org/XML/1998/namespace}lang default="en""/>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  List<Object> content
           
protected  String lang
           
 
Constructor Summary
XHTMLType()
           
 
Method Summary
 List<Object> getContent()
          XHTMLType allows for mixed content of text and XHTML tags.
 String getLang()
          Gets the value of the lang property.
 void setLang(String value)
          Sets the value of the lang property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

content

protected List<Object> content

lang

protected String lang
Constructor Detail

XHTMLType

public XHTMLType()
Method Detail

getContent

public List<Object> getContent()
XHTMLType allows for mixed content of text and XHTML tags. When using this type, one will have to provide a reference to the XHTML schema, since the processing of the tags within this type is strict, meaning that they are validated against the XHTML schema provided.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


getLang

public String getLang()
Gets the value of the lang property.

Returns:
possible object is String

setLang

public void setLang(String value)
Sets the value of the lang property.

Parameters:
value - allowed object is String


Copyright © 2012. All Rights Reserved.