
@Generated(value="com.sun.tools.xjc.Driver", date="2018-11-25T05:49:20+00:00", comments="JAXB RI v2.3.0") public class TSitemap extends Object
Java class for tSitemap complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="tSitemap">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="loc" type="{http://www.sitemaps.org/schemas/sitemap/0.9}tLocSitemap"/>
<element name="lastmod" type="{http://www.sitemaps.org/schemas/sitemap/0.9}tLastmodSitemap" minOccurs="0"/>
<any namespace='##other' maxOccurs="unbounded" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Object> |
any |
protected String |
lastmod |
protected String |
loc |
| Constructor and Description |
|---|
TSitemap() |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getLastmod()
Gets the value of the lastmod property.
|
String |
getLoc()
Gets the value of the loc property.
|
void |
setLastmod(String value)
Sets the value of the lastmod property.
|
void |
setLoc(String value)
Sets the value of the loc property.
|
@Generated(value="com.sun.tools.xjc.Driver", date="2018-11-25T05:49:20+00:00", comments="JAXB RI v2.3.0") protected String loc
@Generated(value="com.sun.tools.xjc.Driver", date="2018-11-25T05:49:20+00:00", comments="JAXB RI v2.3.0") protected String lastmod
@Generated(value="com.sun.tools.xjc.Driver", date="2018-11-25T05:49:20+00:00", comments="JAXB RI v2.3.0") public String getLoc()
String@Generated(value="com.sun.tools.xjc.Driver", date="2018-11-25T05:49:20+00:00", comments="JAXB RI v2.3.0") public void setLoc(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2018-11-25T05:49:20+00:00", comments="JAXB RI v2.3.0") public String getLastmod()
String@Generated(value="com.sun.tools.xjc.Driver", date="2018-11-25T05:49:20+00:00", comments="JAXB RI v2.3.0") public void setLastmod(String value)
value - allowed object is
String@Generated(value="com.sun.tools.xjc.Driver", date="2018-11-25T05:49:20+00:00", comments="JAXB RI v2.3.0") public List<Object> getAny()
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 any property.
For example, to add a new item, do as follows:
getAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Copyright © 2017–2018 earcam. All rights reserved.