Class Element
- java.lang.Object
-
- com.lyncode.xoai.dataprovider.xml.xoai.Element
-
- All Implemented Interfaces:
XMLWritable
public class Element extends Object implements XMLWritable
Java class for Element complex type. The following schema fragment specifies the expected content contained within this class.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classElement.FieldJava class for anonymous complex type.
-
Constructor Summary
Constructors Constructor Description Element()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Element>getElement()Gets the value of the element property.List<Element.Field>getField()Gets the value of the field property.StringgetName()Gets the value of the name property.voidsetName(String value)Sets the value of the name property.voidwrite(XmlOutputContext context)
-
-
-
Field Detail
-
field
protected List<Element.Field> field
-
name
protected String name
-
-
Method Detail
-
getField
public List<Element.Field> getField()
Gets the value of the field 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 field property. For example, to add a new item, do as follows: getField().add(newItem); Objects of the following type(s) are allowed in the list ;
-
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 ;
-
getName
public String getName()
Gets the value of the name property.- Returns:
- possible object is ;
-
setName
public void setName(String value)
Sets the value of the name property.- Parameters:
value- allowed object is ;
-
write
public void write(XmlOutputContext context) throws WritingXmlException
- Specified by:
writein interfaceXMLWritable- Throws:
WritingXmlException
-
-