|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.XmlSchema
public class XmlSchema
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>
| Nested Class Summary | |
|---|---|
static class |
XmlSchema.XmlNsJava class for anonymous complex type. |
| Field Summary | |
|---|---|
protected XmlNsForm |
attributeFormDefault |
protected XmlNsForm |
elementFormDefault |
protected java.lang.String |
location |
protected java.lang.String |
namespace |
protected java.util.List<XmlSchema.XmlNs> |
xmlNs |
| Constructor Summary | |
|---|---|
XmlSchema() |
|
| Method Summary | |
|---|---|
XmlNsForm |
getAttributeFormDefault()Gets the value of the attributeFormDefault property. |
XmlNsForm |
getElementFormDefault()Gets the value of the elementFormDefault property. |
java.lang.String |
getLocation()Gets the value of the location property. |
java.lang.String |
getNamespace()Gets the value of the namespace property. |
java.util.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(java.lang.String value)Sets the value of the location property. |
void |
setNamespace(java.lang.String value)Sets the value of the namespace property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.List<XmlSchema.XmlNs> xmlNs
protected XmlNsForm attributeFormDefault
protected XmlNsForm elementFormDefault
protected java.lang.String location
protected java.lang.String namespace
| Constructor Detail |
|---|
public XmlSchema()
| Method Detail |
|---|
public java.util.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()
XmlNsFormpublic void setAttributeFormDefault(XmlNsForm value)
value - allowed object is XmlNsFormpublic XmlNsForm getElementFormDefault()
XmlNsFormpublic void setElementFormDefault(XmlNsForm value)
value - allowed object is XmlNsFormpublic java.lang.String getLocation()
Stringpublic void setLocation(java.lang.String value)
value - allowed object is Stringpublic java.lang.String getNamespace()
Stringpublic void setNamespace(java.lang.String value)
value - allowed object is String
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||