public class XmlType 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">
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
<attribute name="namespace" type="{http://www.w3.org/2001/XMLSchema}string" default="##default" />
<attribute name="factory-class" type="{http://www.w3.org/2001/XMLSchema}string" default="jakarta.xml.bind.annotation.XmlType.DEFAULT" />
<attribute name="factory-method" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="prop-order">
<simpleType>
<list itemType="{http://www.w3.org/2001/XMLSchema}string" />
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
factoryClass |
protected String |
factoryMethod |
protected String |
name |
protected String |
namespace |
protected List<String> |
propOrder |
| Constructor and Description |
|---|
XmlType() |
| Modifier and Type | Method and Description |
|---|---|
String |
getFactoryClass()
Gets the value of the factoryClass property.
|
String |
getFactoryMethod()
Gets the value of the factoryMethod property.
|
String |
getName()
Gets the value of the name property.
|
String |
getNamespace()
Gets the value of the namespace property.
|
List<String> |
getPropOrder()
Gets the value of the propOrder property.
|
boolean |
isSetPropOrder() |
void |
setFactoryClass(String value)
Sets the value of the factoryClass property.
|
void |
setFactoryMethod(String value)
Sets the value of the factoryMethod property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setNamespace(String value)
Sets the value of the namespace property.
|
protected String name
protected String namespace
protected String factoryClass
protected String factoryMethod
public String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getNamespace()
Stringpublic void setNamespace(String value)
value - allowed object is
Stringpublic String getFactoryClass()
Stringpublic void setFactoryClass(String value)
value - allowed object is
Stringpublic String getFactoryMethod()
Stringpublic void setFactoryMethod(String value)
value - allowed object is
Stringpublic List<String> getPropOrder()
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 propOrder property.
For example, to add a new item, do as follows:
getPropOrder().add(newItem);
Objects of the following type(s) are allowed in the list
String
public boolean isSetPropOrder()
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.