Class XmlSchema
java.lang.Object
org.eclipse.persistence.jaxb.xmlmodel.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 SummaryNested ClassesModifier and TypeClassDescriptionstatic classJava class for anonymous complex type.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGets the value of the attributeFormDefault property.Gets the value of the elementFormDefault property.Gets the value of the location property.Gets the value of the namespace property.getXmlNs()Gets the value of the xmlNs property.voidsetAttributeFormDefault(XmlNsForm value) Sets the value of the attributeFormDefault property.voidsetElementFormDefault(XmlNsForm value) Sets the value of the elementFormDefault property.voidsetLocation(String value) Sets the value of the location property.voidsetNamespace(String value) Sets the value of the namespace property.
- 
Field Details- 
xmlNs
- 
attributeFormDefault
- 
elementFormDefault
- 
location
- 
namespace
 
- 
- 
Constructor Details- 
XmlSchemapublic XmlSchema()
 
- 
- 
Method Details- 
getXmlNsGets the value of the xmlNs 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 JAXB object. This is why there is not a setmethod 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
- 
getAttributeFormDefaultGets the value of the attributeFormDefault property.- Returns:
- possible object is
     XmlNsForm
 
- 
setAttributeFormDefaultSets the value of the attributeFormDefault property.- Parameters:
- value- allowed object is- XmlNsForm
 
- 
getElementFormDefaultGets the value of the elementFormDefault property.- Returns:
- possible object is
     XmlNsForm
 
- 
setElementFormDefaultSets the value of the elementFormDefault property.- Parameters:
- value- allowed object is- XmlNsForm
 
- 
getLocationGets the value of the location property.- Returns:
- possible object is
     String
 
- 
setLocationSets the value of the location property.- Parameters:
- value- allowed object is- String
 
- 
getNamespaceGets the value of the namespace property.- Returns:
- possible object is
     String
 
- 
setNamespaceSets the value of the namespace property.- Parameters:
- value- allowed object is- String
 
 
-