org.eclipse.jpt.jaxb.core.context
Interface XmlElement
- All Superinterfaces:
- IAdaptable, JaxbContextNode, JaxbNode, JptResourceTypeReference, Model
public interface XmlElement
- extends JaxbContextNode
Represents an @XmlElement, whether at top level or nested in @XmlElements
Provisional API: This interface is part of an interim API that is still
under development and expected to change significantly before reaching
stability. It is available at this early stage to solicit feedback from
pioneering adopters on the understanding that any code that uses this API
will almost certainly be broken (repeatedly) as the API evolves.
- Since:
- 3.1
SPECIFIED_NILLABLE_PROPERTY
static final String SPECIFIED_NILLABLE_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_NILLABLE_PROPERTY
static final String DEFAULT_NILLABLE_PROPERTY
- See Also:
- Constant Field Values
SPECIFIED_REQUIRED_PROPERTY
static final String SPECIFIED_REQUIRED_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_VALUE_PROPERTY
static final String DEFAULT_VALUE_PROPERTY
- See Also:
- Constant Field Values
SPECIFIED_TYPE_PROPERTY
static final String SPECIFIED_TYPE_PROPERTY
- See Also:
- Constant Field Values
DEFAULT_TYPE_PROPERTY
static final String DEFAULT_TYPE_PROPERTY
- See Also:
- Constant Field Values
REFERENCED_XML_TYPE_NAMES_TRANSFORMER
static final org.eclipse.jpt.common.utility.transformer.Transformer<XmlElement,Iterable<String>> REFERENCED_XML_TYPE_NAMES_TRANSFORMER
getAnnotation
XmlElementAnnotation getAnnotation(boolean createIfNull)
getQName
JaxbQName getQName()
isNillable
boolean isNillable()
getSpecifiedNillable
Boolean getSpecifiedNillable()
setSpecifiedNillable
void setSpecifiedNillable(Boolean specifiedNillable)
isDefaultNillable
boolean isDefaultNillable()
isRequired
boolean isRequired()
getSpecifiedRequired
Boolean getSpecifiedRequired()
setSpecifiedRequired
void setSpecifiedRequired(Boolean specifiedRequired)
isDefaultRequired
boolean isDefaultRequired()
getDefaultValue
String getDefaultValue()
setDefaultValue
void setDefaultValue(String defaultValue)
getType
String getType()
getFullyQualifiedType
String getFullyQualifiedType()
getSpecifiedType
String getSpecifiedType()
setSpecifiedType
void setSpecifiedType(String type)
getDefaultType
String getDefaultType()
getReferencedXmlTypeNames
Iterable<String> getReferencedXmlTypeNames()
- Return all directly referenced xml types, fully qualified.
(Used for constructing Jaxb context)
getXsdElement
XsdElementDeclaration getXsdElement()
- Return the schema element declaration referenced, if it can be resolved.
getTypeTextRange
TextRange getTypeTextRange()
Copyright (c) 2012 Oracle. All rights reserved.