public class DataSet extends Object
Java class for dspl element declaration.
The following schema fragment specifies the expected content contained within this class.
<element name="dspl"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="import" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="namespace" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" /> </restriction> </complexContent> </complexType> </element> <element name="info" type="{http://schemas.google.com/dspl/2010}Info"/> <element name="provider" type="{http://schemas.google.com/dspl/2010}Info"/> <element name="attribute" type="{http://schemas.google.com/dspl/2010}Attribute" maxOccurs="unbounded" minOccurs="0"/> <element name="topics" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="topic" type="{http://schemas.google.com/dspl/2010}Topic" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="concepts" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="concept" type="{http://schemas.google.com/dspl/2010}Concept" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="slices" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="slice" type="{http://schemas.google.com/dspl/2010}Slice" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> <element name="tables" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="table" type="{http://schemas.google.com/dspl/2010}Table" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="targetNamespace" type="{http://www.w3.org/2001/XMLSchema}anyURI" /> </restriction> </complexContent> </complexType> </element>
Modifier and Type | Class and Description |
---|---|
static class |
DataSet.Concepts
Java class for anonymous complex type.
|
static class |
DataSet.Import
Java class for anonymous complex type.
|
static class |
DataSet.Slices
Java class for anonymous complex type.
|
static class |
DataSet.Tables
Java class for anonymous complex type.
|
static class |
DataSet.Topics
Java class for anonymous complex type.
|
Constructor and Description |
---|
DataSet() |
Modifier and Type | Method and Description |
---|---|
List<Attribute> |
getAttribute()
Gets the value of the attribute property.
|
Concept |
getConcept(QName ref) |
Concept |
getConcept(String localId) |
Concept |
getConcept(String namespace,
String local) |
DataSet.Concepts |
getConcepts()
Gets the value of the concepts property.
|
DataSet |
getDataSet(DataSet.Import imp) |
File |
getFile() |
List<DataSet.Import> |
getImport()
Gets the value of the import property.
|
Info |
getInfo()
Gets the value of the info property.
|
DsplParser |
getParser() |
Info |
getProvider()
Gets the value of the provider property.
|
DataSet.Slices |
getSlices()
Gets the value of the slices property.
|
DataSet.Tables |
getTables()
Gets the value of the tables property.
|
String |
getTargetNamespace()
Gets the value of the targetNamespace property.
|
DataSet.Topics |
getTopics()
Gets the value of the topics property.
|
void |
setConcepts(DataSet.Concepts value)
Sets the value of the concepts property.
|
void |
setFile(File file) |
void |
setInfo(Info value)
Sets the value of the info property.
|
void |
setParser(DsplParser parser) |
void |
setProvider(Info value)
Sets the value of the provider property.
|
void |
setSlices(DataSet.Slices value)
Sets the value of the slices property.
|
void |
setTables(DataSet.Tables value)
Sets the value of the tables property.
|
void |
setTargetNamespace(String value)
Sets the value of the targetNamespace property.
|
void |
setTopics(DataSet.Topics value)
Sets the value of the topics property.
|
public List<DataSet.Import> getImport()
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 import property.
For example, to add a new item, do as follows:
getImport().add(newItem);
Objects of the following type(s) are allowed in the list
DataSet.Import
public void setInfo(Info value)
value
- allowed object is
Info
public Info getProvider()
Info
public void setProvider(Info value)
value
- allowed object is
Info
public List<Attribute> getAttribute()
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 attribute property.
For example, to add a new item, do as follows:
getAttribute().add(newItem);
Objects of the following type(s) are allowed in the list
Attribute
public DataSet.Topics getTopics()
DataSet.Topics
public void setTopics(DataSet.Topics value)
value
- allowed object is
DataSet.Topics
public DataSet.Concepts getConcepts()
DataSet.Concepts
public void setConcepts(DataSet.Concepts value)
value
- allowed object is
DataSet.Concepts
public DataSet.Slices getSlices()
DataSet.Slices
public void setSlices(DataSet.Slices value)
value
- allowed object is
DataSet.Slices
public DataSet.Tables getTables()
DataSet.Tables
public void setTables(DataSet.Tables value)
value
- allowed object is
DataSet.Tables
public String getTargetNamespace()
String
public void setTargetNamespace(String value)
value
- allowed object is
String
public File getFile()
public void setFile(File file)
public DsplParser getParser()
public void setParser(DsplParser parser)
public Concept getConcept(String namespace, String local) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public Concept getConcept(String localId) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public Concept getConcept(QName ref) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
public DataSet getDataSet(DataSet.Import imp) throws JAXBException, IOException, DsplException
JAXBException
IOException
DsplException
Copyright © 2016 Metron, Inc.. All rights reserved.