Package org.xlsx4j.sml
Class CTSchema
java.lang.Object
org.xlsx4j.sml.CTSchema
- All Implemented Interfaces:
Child
public class CTSchema extends java.lang.Object implements Child
Java class for CT_Schema complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CT_Schema">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any/>
</sequence>
<attribute name="ID" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="SchemaRef" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="Namespace" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="SchemaLanguage" type="{http://www.w3.org/2001/XMLSchema}token" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Object>contentprotected java.lang.Stringidprotected java.lang.Stringnamespaceprotected java.lang.StringschemaLanguageprotected java.lang.StringschemaRef -
Constructor Summary
Constructors Constructor Description CTSchema() -
Method Summary
Modifier and Type Method Description voidafterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.java.util.List<java.lang.Object>getContent()Gets the value of the content property.java.lang.StringgetID()Gets the value of the id property.java.lang.StringgetNamespace()Gets the value of the namespace property.java.lang.ObjectgetParent()Gets the parent object in the object tree representing the unmarshalled xml document.java.lang.StringgetSchemaLanguage()Gets the value of the schemaLanguage property.java.lang.StringgetSchemaRef()Gets the value of the schemaRef property.voidsetID(java.lang.String value)Sets the value of the id property.voidsetNamespace(java.lang.String value)Sets the value of the namespace property.voidsetParent(java.lang.Object parent)voidsetSchemaLanguage(java.lang.String value)Sets the value of the schemaLanguage property.voidsetSchemaRef(java.lang.String value)Sets the value of the schemaRef property.
-
Field Details
-
content
protected java.util.List<java.lang.Object> content -
id
protected java.lang.String id -
schemaRef
protected java.lang.String schemaRef -
namespace
protected java.lang.String namespace -
schemaLanguage
protected java.lang.String schemaLanguage
-
-
Constructor Details
-
CTSchema
public CTSchema()
-
-
Method Details
-
getContent
public java.util.List<java.lang.Object> getContent()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
setmethod 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
StringObject -
getID
public java.lang.String getID()Gets the value of the id property.- Returns:
- possible object is
String
-
setID
public void setID(java.lang.String value)Sets the value of the id property.- Parameters:
value- allowed object isString
-
getSchemaRef
public java.lang.String getSchemaRef()Gets the value of the schemaRef property.- Returns:
- possible object is
String
-
setSchemaRef
public void setSchemaRef(java.lang.String value)Sets the value of the schemaRef property.- Parameters:
value- allowed object isString
-
getNamespace
public java.lang.String getNamespace()Gets the value of the namespace property.- Returns:
- possible object is
String
-
setNamespace
public void setNamespace(java.lang.String value)Sets the value of the namespace property.- Parameters:
value- allowed object isString
-
getSchemaLanguage
public java.lang.String getSchemaLanguage()Gets the value of the schemaLanguage property.- Returns:
- possible object is
String
-
setSchemaLanguage
public void setSchemaLanguage(java.lang.String value)Sets the value of the schemaLanguage property.- Parameters:
value- allowed object isString
-
getParent
public java.lang.Object getParent()Gets the parent object in the object tree representing the unmarshalled xml document. -
setParent
public void setParent(java.lang.Object parent) -
afterUnmarshal
public void afterUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, java.lang.Object parent)This method is invoked by the JAXB implementation on each instance when unmarshalling completes.- Parameters:
parent- The parent object in the object tree.unmarshaller- The unmarshaller that generated the instance.
-