Package com.sun.tools.xjc.outline
Enum Aspect
- All Implemented Interfaces:
Serializable
,Comparable<Aspect>
Sometimes a single JAXB-generated bean spans across multiple Java classes/interfaces.
We call them "aspects of a bean".
This is an enumeration of all possible aspects.
- Author:
- Kohsuke Kawaguchi TODO: move this to the model package. We cannot do this before JAXB3 because of old plugins
-
Enum Constant Details
-
EXPOSED
The exposed part of the bean.This corresponds to the content interface when we are geneting one. This would be the same as the
IMPLEMENTATION
when we are just generating beans.This could be an interface, or it could be a class. We don't have any other
ImplStructureStrategy
at this point, but generally you can't assume anything about where this could be or whether that's equal toIMPLEMENTATION
. -
IMPLEMENTATION
The part of the bean that holds all the implementations.This is always a class, never an interface.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-