com.sun.tools.xjc.outline
public class Aspect extends Enum<Aspect>
This is an enumeration of all possible aspects.
Field Summary | |
---|---|
static Aspect | EXPOSED
The exposed part of the bean.
|
static Aspect | IMPLEMENTATION
The part of the bean that holds all the implementations.
|
static List<Aspect> | VALUES An immutable list containing the values comprising this enum class in the order they're declared. |
Method Summary | |
---|---|
List<Aspect> | family() Returns an immutable list containing the values comprising this enum class in the order they're declared. |
static Aspect | valueOf(String name) Static factory to return the enum constant pertaining to the given string name. |
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 to IMPLEMENTATION.
This is always a class, never an interface.
for(Aspect c : Aspect.VALUES) System.out.println(c);
VALUES
. Few programmers should have any need to use this method. It is provided for use by sophisticated enum-based data structures to prevent the need for reflective access to VALUES
.Returns: an immutable list containing the values comprising this enum class, in the order they're declared.
Throws: IllegalArgumentException if this enum class has no constant with the specified name.