public class XmlSchema extends Object
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="xml-ns" maxOccurs="unbounded" minOccurs="0"> <complexType> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <attribute name="namespace-uri" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="prefix" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType> </element> </sequence> <attribute name="attribute-form-default" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-ns-form" default="UNSET" /> <attribute name="element-form-default" type="{http://www.eclipse.org/eclipselink/xsds/persistence/oxm}xml-ns-form" default="UNSET" /> <attribute name="location" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" /> </restriction> </complexContent> </complexType>
Modifier and Type | Class and Description |
---|---|
static class |
XmlSchema.XmlNs
Java class for anonymous complex type.
|
Modifier and Type | Field and Description |
---|---|
protected XmlNsForm |
attributeFormDefault |
protected XmlNsForm |
elementFormDefault |
protected String |
location |
protected String |
namespace |
protected List<XmlSchema.XmlNs> |
xmlNs |
Constructor and Description |
---|
XmlSchema() |
Modifier and Type | Method and Description |
---|---|
XmlNsForm |
getAttributeFormDefault()
Gets the value of the attributeFormDefault property.
|
XmlNsForm |
getElementFormDefault()
Gets the value of the elementFormDefault property.
|
String |
getLocation()
Gets the value of the location property.
|
String |
getNamespace()
Gets the value of the namespace property.
|
List<XmlSchema.XmlNs> |
getXmlNs()
Gets the value of the xmlNs property.
|
void |
setAttributeFormDefault(XmlNsForm value)
Sets the value of the attributeFormDefault property.
|
void |
setElementFormDefault(XmlNsForm value)
Sets the value of the elementFormDefault property.
|
void |
setLocation(String value)
Sets the value of the location property.
|
void |
setNamespace(String value)
Sets the value of the namespace property.
|
protected List<XmlSchema.XmlNs> xmlNs
protected XmlNsForm attributeFormDefault
protected XmlNsForm elementFormDefault
protected String location
protected String namespace
public List<XmlSchema.XmlNs> getXmlNs()
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 xmlNs property.
For example, to add a new item, do as follows:
getXmlNs().add(newItem);
Objects of the following type(s) are allowed in the list
XmlSchema.XmlNs
public XmlNsForm getAttributeFormDefault()
XmlNsForm
public void setAttributeFormDefault(XmlNsForm value)
value
- allowed object is
XmlNsForm
public XmlNsForm getElementFormDefault()
XmlNsForm
public void setElementFormDefault(XmlNsForm value)
value
- allowed object is
XmlNsForm
public String getLocation()
String
public void setLocation(String value)
value
- allowed object is
String
public String getNamespace()
String
Copyright © 2007–2020 Eclipse.org - EclipseLink Project. All rights reserved.