Class Schema
- All Implemented Interfaces:
Serializable
Java class for SchemaType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SchemaType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.opengis.net/kml/2.2}SimpleField" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.opengis.net/kml/2.2}SchemaExtension" maxOccurs="unbounded" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected List<jakarta.xml.bind.JAXBElement<?>> protected List<SimpleField> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetId()Gets the value of the id property.getName()Gets the value of the name property.List<jakarta.xml.bind.JAXBElement<?>> Gets the value of the schemaExtensions property.Gets the value of the simpleFields property.voidSets the value of the id property.voidSets the value of the name property.
-
Field Details
-
simpleFields
-
schemaExtensions
-
name
-
id
-
-
Constructor Details
-
Schema
public Schema()
-
-
Method Details
-
getSimpleFields
Gets the value of the simpleFields 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 Jakarta XML Binding object. This is why there is not a
setmethod for the simpleFields property.For example, to add a new item, do as follows:
getSimpleFields().add(newItem);Objects of the following type(s) are allowed in the list
SimpleField- Returns:
- The value of the simpleFields property.
-
getSchemaExtensions
Gets the value of the schemaExtensions 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 Jakarta XML Binding object. This is why there is not a
setmethod for the schemaExtensions property.For example, to add a new item, do as follows:
getSchemaExtensions().add(newItem);Objects of the following type(s) are allowed in the list
JAXBElement<Object>JAXBElement<SimpleArrayFieldType>- Returns:
- The value of the schemaExtensions property.
-
getName
Gets the value of the name property.- Returns:
- possible object is
String
-
setName
Sets the value of the name property.- Parameters:
value- allowed object isString
-
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-