public class Container extends Object
Java class for Container complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Container"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <choice maxOccurs="2" minOccurs="0"> <element name="rootFiles"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <any processContents='lax' namespace='##other'/> <element name="rootFile" type="{urn:oasis:names:tc:opendocument:xmlns:container}RootFile"/> </choice> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType> </element> <any processContents='lax' namespace='##other' maxOccurs="unbounded"/> </choice> <sequence minOccurs="0"> <element name="relationships"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <any processContents='lax' namespace='##other'/> <element name="relationship" type="{urn:oasis:names:tc:opendocument:xmlns:container}Relationship"/> </choice> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType> </element> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <sequence minOccurs="0"> <element name="signatures"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element ref="{http://www.w3.org/2000/09/xmldsig#}Signature"/> </choice> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType> </element> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> <sequence minOccurs="0"> <element name="encryption"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded"> <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedData"/> <element ref="{http://www.w3.org/2001/04/xmlenc#}EncryptedKey"/> </choice> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType> </element> <any processContents='lax' namespace='##other' maxOccurs="unbounded" minOccurs="0"/> </sequence> </sequence> <attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" fixed="1.0" /> <anyAttribute processContents='lax' namespace='##other'/> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
Container.Encryption
Java class for anonymous complex type.
|
static class |
Container.Relationships
Java class for anonymous complex type.
|
static class |
Container.RootFiles
Java class for anonymous complex type.
|
static class |
Container.Signatures
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected List<Object> |
any5 |
protected List<Object> |
any7 |
protected List<Object> |
any9 |
protected Container.Encryption |
encryption |
protected Container.Relationships |
relationships |
protected List<Object> |
rootFilesOrAny |
protected Container.Signatures |
signatures |
protected String |
version |
Constructor and Description |
---|
Container() |
Modifier and Type | Method and Description |
---|---|
List<Object> |
getAny5()
Gets the value of the any5 property.
|
List<Object> |
getAny7()
Gets the value of the any7 property.
|
List<Object> |
getAny9()
Gets the value of the any9 property.
|
Container.Encryption |
getEncryption()
Gets the value of the encryption property.
|
Map<QName,String> |
getOtherAttributes()
Gets a map that contains attributes that aren't bound to any typed property on this class.
|
Container.Relationships |
getRelationships()
Gets the value of the relationships property.
|
List<Object> |
getRootFilesOrAny()
Gets the value of the rootFilesOrAny property.
|
Container.Signatures |
getSignatures()
Gets the value of the signatures property.
|
String |
getVersion()
Gets the value of the version property.
|
void |
setEncryption(Container.Encryption value)
Sets the value of the encryption property.
|
void |
setRelationships(Container.Relationships value)
Sets the value of the relationships property.
|
void |
setSignatures(Container.Signatures value)
Sets the value of the signatures property.
|
void |
setVersion(String value)
Sets the value of the version property.
|
protected Container.Relationships relationships
protected Container.Signatures signatures
protected Container.Encryption encryption
protected String version
public List<Object> getRootFilesOrAny()
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 rootFilesOrAny property.
For example, to add a new item, do as follows:
getRootFilesOrAny().add(newItem);
Objects of the following type(s) are allowed in the list
Object
JAXBElement
<
Container.RootFiles
>
Element
public Container.Relationships getRelationships()
Container.Relationships
public void setRelationships(Container.Relationships value)
value
- allowed object is
Container.Relationships
public List<Object> getAny5()
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 any5 property.
For example, to add a new item, do as follows:
getAny5().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Element
public Container.Signatures getSignatures()
Container.Signatures
public void setSignatures(Container.Signatures value)
value
- allowed object is
Container.Signatures
public List<Object> getAny7()
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 any7 property.
For example, to add a new item, do as follows:
getAny7().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Element
public Container.Encryption getEncryption()
Container.Encryption
public void setEncryption(Container.Encryption value)
value
- allowed object is
Container.Encryption
public List<Object> getAny9()
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 any9 property.
For example, to add a new item, do as follows:
getAny9().add(newItem);
Objects of the following type(s) are allowed in the list
Object
Element
public String getVersion()
String
public void setVersion(String value)
value
- allowed object is
String
public Map<QName,String> getOtherAttributes()
the map is keyed by the name of the attribute and the value is the string value of the attribute. the map returned by this method is live, and you can add new attribute by updating the map directly. Because of this design, there's no setter.
Copyright © 2014 myGrid. All rights reserved.