public class SchemaNode extends Object
Java class for SchemaNode complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SchemaNode">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Node" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice>
<element name="Predicate">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="Variable" maxOccurs="unbounded" minOccurs="0">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
<attribute name="Value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="Name" use="required" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="ParBoundary">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="AggrBoundary">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
</restriction>
</complexContent>
</complexType>
</element>
<element name="Choice" type="{http://openschema.sf.net}SchemaNode"/>
<element name="Optional" type="{http://openschema.sf.net}SchemaNode"/>
<element name="Sequence" type="{http://openschema.sf.net}SchemaNode"/>
<element name="KleeneStar" type="{http://openschema.sf.net}SchemaNode"/>
<element name="KleenePlus" type="{http://openschema.sf.net}SchemaNode"/>
</choice>
</restriction>
</complexContent>
</complexType>
</element>
</sequence>
<attribute name="Name" type="{http://www.w3.org/2001/XMLSchema}token" default="schema" />
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Class and Description |
|---|---|
static class |
SchemaNode.Node
Java class for anonymous complex type.
|
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected List<SchemaNode.Node> |
node |
| Constructor and Description |
|---|
SchemaNode() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Gets the value of the name property.
|
List<SchemaNode.Node> |
getNode()
Gets the value of the node property.
|
void |
setName(String value)
Sets the value of the name property.
|
protected List<SchemaNode.Node> node
protected String name
public List<SchemaNode.Node> getNode()
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 node property.
For example, to add a new item, do as follows:
getNode().add(newItem);
Objects of the following type(s) are allowed in the list
SchemaNode.Node
public String getName()
StringCopyright © 2015 Pablo Duboue. All rights reserved.