|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.sdmx.resources.sdmxml.schemas.v2_1.common.XHTMLType
public class XHTMLType
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 |
|---|
protected List<Object> content
protected String lang
| Constructor Detail |
|---|
public XHTMLType()
| Method Detail |
|---|
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
Object
String
public String getLang()
Stringpublic void setLang(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||