|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Aspect>
com.sun.tools.xjc.outline.Aspect
public enum 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.
Enum Constant Summary | |
---|---|
EXPOSED
The exposed part of the bean. |
|
IMPLEMENTATION
The part of the bean that holds all the implementations. |
Method Summary | |
---|---|
static Aspect |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Aspect[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Aspect EXPOSED
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
.
public static final Aspect IMPLEMENTATION
This is always a class, never an interface.
Method Detail |
---|
public static Aspect[] values()
for (Aspect c : Aspect.values()) System.out.println(c);
public static Aspect valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |