org.archiviststoolkit.structure.MODS
Class ExtensionType
java.lang.Object
org.archiviststoolkit.structure.MODS.ExtensionType
public class ExtensionType
- extends java.lang.Object
use for local extensions or for extensions from other XML schemas
Java class for extensionType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="extensionType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any/>
</sequence>
</restriction>
</complexContent>
</complexType>
Field Summary |
protected java.util.List<java.lang.Object> |
content
|
Method Summary |
java.util.List<java.lang.Object> |
getContent()
use for local extensions or for extensions from other XML schemas Gets the value of the content property. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
content
protected java.util.List<java.lang.Object> content
ExtensionType
public ExtensionType()
getContent
public java.util.List<java.lang.Object> getContent()
- use for local extensions or for extensions from other XML schemas Gets the value of the content 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 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
String
Element
Object