org.eclipse.jpt.jaxb.core.context
Interface JaxbElementFactoryMethod
- All Superinterfaces:
- IAdaptable, JaxbContextNode, JaxbNode, JptResourceTypeReference, Model
public interface JaxbElementFactoryMethod
- extends JaxbContextNode
Represents a JAXB element factory method
(A method inside an object factory (@XmlRegistry) with an explicit @XmlElementDecl annotation)
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.0
SCOPE_PROPERTY
static final String SCOPE_PROPERTY
- Corresponds to the XmlElementDecl annotation 'scope' element
- See Also:
- Constant Field Values
DEFAULT_SCOPE_CLASS_NAME
static final String DEFAULT_SCOPE_CLASS_NAME
- See Also:
- Constant Field Values
DEFAULT_VALUE_PROPERTY
static final String DEFAULT_VALUE_PROPERTY
- Corresponds to the XmlElementDecl annotation 'defaultValue' element
- See Also:
- Constant Field Values
DEFAULT_DEFAULT_VALUE
static final String DEFAULT_DEFAULT_VALUE
- See Also:
- Constant Field Values
getResourceMethod
JavaResourceMethod getResourceMethod()
getName
String getName()
- Return the method name
getScope
String getScope()
setScope
void setScope(String scope)
getFullyQualifiedScope
String getFullyQualifiedScope()
isGlobalScope
boolean isGlobalScope()
- Return true if the scope is default or is specified to be XmlElementDecl.GLOBAL.
getQName
JaxbQName getQName()
getSubstitutionHeadQName
JaxbQName getSubstitutionHeadQName()
getDefaultValue
String getDefaultValue()
setDefaultValue
void setDefaultValue(String defaultValue)
Copyright (c) 2012 Oracle. All rights reserved.