Class Metadata
- java.lang.Object
-
- com.lyncode.xoai.dataprovider.xml.xoai.Metadata
-
- All Implemented Interfaces:
XMLWritable
public class Metadata extends Object implements XMLWritable
Java class for anonymous complex type. The following schema fragment specifies the expected content contained within this class.
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Element>elementstatic StringNAMESPACE_URIstatic StringSCHEMA_LOCATION
-
Constructor Summary
Constructors Constructor Description Metadata()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Element>getElement()Gets the value of the element property.StringtoString()voidwrite(XmlOutputContext context)
-
-
-
Field Detail
-
NAMESPACE_URI
public static final String NAMESPACE_URI
- See Also:
- Constant Field Values
-
SCHEMA_LOCATION
public static final String SCHEMA_LOCATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getElement
public List<Element> getElement()
Gets the value of the element 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 method for the element property. For example, to add a new item, do as follows: getElement().add(newItem); Objects of the following type(s) are allowed in the list ;
-
write
public void write(XmlOutputContext context) throws WritingXmlException
- Specified by:
writein interfaceXMLWritable- Throws:
WritingXmlException
-
-