public class SchemaComponentType extends Object
Java class for SchemaComponentType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SchemaComponentType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<any processContents='lax'/>
</sequence>
<attribute name="targetNamespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="parentSchema" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
<attribute name="schemaLanguage" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected List<Serializable> |
content |
protected String |
parentSchema |
protected String |
schemaLanguage |
protected String |
targetNamespace |
| Constructor and Description |
|---|
SchemaComponentType()
Default no-arg constructor
|
SchemaComponentType(List<Serializable> content,
String targetNamespace,
String parentSchema,
String schemaLanguage)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<Serializable> |
getContent()
A schema component includes a schema fragment (type
definition) or an entire schema from some target namespace;
the schema language is identified by URI.
|
String |
getParentSchema()
Gets the value of the parentSchema property.
|
String |
getSchemaLanguage()
Gets the value of the schemaLanguage property.
|
String |
getTargetNamespace()
Gets the value of the targetNamespace property.
|
void |
setParentSchema(String value)
Sets the value of the parentSchema property.
|
void |
setSchemaLanguage(String value)
Sets the value of the schemaLanguage property.
|
void |
setTargetNamespace(String value)
Sets the value of the targetNamespace property.
|
protected List<Serializable> content
protected String targetNamespace
protected String parentSchema
protected String schemaLanguage
public SchemaComponentType()
public SchemaComponentType(List<Serializable> content, String targetNamespace, String parentSchema, String schemaLanguage)
public List<Serializable> getContent()
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
Object
Element
String
public String getTargetNamespace()
Stringpublic void setTargetNamespace(String value)
value - allowed object is
Stringpublic String getParentSchema()
Stringpublic void setParentSchema(String value)
value - allowed object is
Stringpublic String getSchemaLanguage()
StringCopyright © 2022 B3Partners B.V.. All rights reserved.