| com.sun.xml.bind.v2.model.impl.EnumLeafInfoImpl
Method Summary | |
public Element<T, C> | asElement() | protected void | calcConstants() Build
EnumConstant s and discover/report any error in it. | final public boolean | canBeReferencedByIDREF() Leaf-type cannot be referenced from IDREF. | protected EnumConstantImpl<T, C, F, M> | createEnumConstant(String name, String literal, F constant, EnumConstantImpl<T, C, F, M> last) | public NonElement<T, C> | getBaseType() | public C | getClazz() | public Iterable<? extends EnumConstantImpl<T, C, F, M>> | getConstants() | public QName | getElementName() | public Location | getLocation() | public ClassInfo<T, C> | getScope() When a bean binds to an element, it's always through
XmlRootElement ,
so this method always return null. | public Element<T, C> | getSubstitutionHead() No substitution. | public T | getType() | public QName | getTypeName() | public boolean | isElement() | public boolean | isSimpleType() | public Iterator<EnumConstantImpl<T, C, F, M>> | iterator() | public void | link() |
clazz | final C clazz(Code) | | The enum class whose information this object represents.
|
EnumLeafInfoImpl | public EnumLeafInfoImpl(ModelBuilder<T, C, F, M> builder, Locatable upstream, C clazz, T type)(Code) | | Parameters: clazz - Parameters: type - clazz and type should both point to the enum classthat this EnumLeafInfo represents.Because of the type parameterization we have to take them separately. |
calcConstants | protected void calcConstants()(Code) | | Build
EnumConstant s and discover/report any error in it.
|
canBeReferencedByIDREF | final public boolean canBeReferencedByIDREF()(Code) | | Leaf-type cannot be referenced from IDREF.
|
getClazz | public C getClazz()(Code) | | |
getSubstitutionHead | public Element<T, C> getSubstitutionHead()(Code) | | No substitution.
|
getType | public T getType()(Code) | | |
isElement | public boolean isElement()(Code) | | |
isSimpleType | public boolean isSimpleType()(Code) | | |
|
|