|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) B32476-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<XMLNullRepresentationType> oracle.toplink.ox.mappings.nullpolicy.XMLNullRepresentationType
public enum XMLNullRepresentationType
Description:
An enum that is used within a Node Null Policy to determine what to marshal for a null node.
We define 3 final instances available to the user (XSI_NIL, ABSENT_NODE(default) and EMPTY_NODE.
Flag | Description |
---|---|
XSI_NIL | Nillable: Write out an xsi:nil="true" attribute. |
ABSENT_NODE(default) | Optional: Write out no node. |
EMPTY_NODE | Required: Write out an empty |
AbstractNullPolicy
Enum Constant Summary | |
---|---|
ABSENT_NODE
Do not write out anything (default optional policy behavior). |
|
EMPTY_NODE
Write out an empty node. |
|
XSI_NIL
Write out an xsi:nil="true" attribute. |
Method Summary | |
---|---|
static XMLNullRepresentationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static XMLNullRepresentationType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, 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 XMLNullRepresentationType XSI_NIL
public static final XMLNullRepresentationType ABSENT_NODE
public static final XMLNullRepresentationType EMPTY_NODE
Method Detail |
---|
public static XMLNullRepresentationType[] values()
for (XMLNullRepresentationType c : XMLNullRepresentationType.values()) System.out.println(c);
public static XMLNullRepresentationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |