public class RDF extends Object
Java class for RDF complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="RDF"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/> </sequence> <attribute ref="{http://www.w3.org/XML/1998/namespace}base"/> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any |
protected String |
base |
Constructor and Description |
---|
RDF() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny()
Gets the value of the any property.
|
String |
getBase()
Gets the value of the base property.
|
void |
setBase(String value)
Sets the value of the base property.
|
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
Element
Object
public String getBase()
String
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.