public class IsSetNullPolicy extends AbstractNullPolicy
The following instance fields can be set:
Usage:
NullCapableValue
Constructor and Description |
---|
IsSetNullPolicy()
Default Constructor
Set the IsSetPerformedForAbsentNode to false to enable the other 2 flags
isNullRepresentedByEmptyNode and isNullRepresentedByXsiNil
|
IsSetNullPolicy(java.lang.String anIsSetMethodName)
Specific Constructor to set the name for checking the isSet state of the mapping
|
IsSetNullPolicy(java.lang.String anIsSetMethodName,
boolean bIsNullRepresentedByEmptyNode,
boolean bIsNullRepresentedByXsiNil,
XMLNullRepresentationType aMarshalNullRepresentation)
Specific Constructor to set both the Marshal enum and the Unmarshal flags.
|
Modifier and Type | Method and Description |
---|---|
boolean |
compositeObjectMarshal(AbstractMarshalRecord record,
java.lang.Object object,
Field field,
CoreAbstractSession session)
INTERNAL
|
boolean |
compositeObjectMarshal(XPathFragment xPathFragment,
MarshalRecord marshalRecord,
java.lang.Object object,
CoreSession session,
NamespaceResolver namespaceResolver)
INTERNAL
|
void |
directMarshal(Field field,
AbstractMarshalRecord record,
java.lang.Object object)
INTERNAL
|
boolean |
directMarshal(XPathFragment xPathFragment,
MarshalRecord marshalRecord,
java.lang.Object object,
CoreSession session,
NamespaceResolver namespaceResolver)
INTERNAL:
When using the SAX or DOM Platform, this method is responsible for
marshalling null values for the XML Direct Mapping.
|
java.lang.String |
getIsSetMethodName() |
java.lang.Object[] |
getIsSetParameters() |
java.lang.Class[] |
getIsSetParameterTypes() |
void |
setIsSetMethodName(java.lang.String anIsSetMethodName) |
void |
setIsSetParameters(java.lang.Object[] parameters) |
void |
setIsSetParameterTypes(java.lang.Class[] parameterTypes) |
void |
xPathNode(XPathNode xPathNode,
NullCapableValue nullCapableValue)
INTERNAL: When using the SAX Platform this allows a NodeValue to be
registered to receive events from the TreeObjectBuilder.
|
getIsSetPerformedForAbsentNode, getMarshalNullRepresentation, ignoreAttributesForNil, isNullRepresentedByEmptyNode, isNullRepresentedByXsiNil, setIgnoreAttributesForNil, setMarshalNullRepresentation, setNullRepresentedByEmptyNode, setNullRepresentedByXsiNil, valueIsNull, valueIsNull
public IsSetNullPolicy()
public IsSetNullPolicy(java.lang.String anIsSetMethodName)
anIsSetMethodName
- public IsSetNullPolicy(java.lang.String anIsSetMethodName, boolean bIsNullRepresentedByEmptyNode, boolean bIsNullRepresentedByXsiNil, XMLNullRepresentationType aMarshalNullRepresentation)
anIsSetMethodName
- bIsNullRepresentedByEmptyNode
- bIsNullRepresentedByXsiNil
- aMarshalNullRepresentation
- public boolean directMarshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, CoreSession session, NamespaceResolver namespaceResolver)
AbstractNullPolicy
directMarshal
in class AbstractNullPolicy
public void directMarshal(Field field, AbstractMarshalRecord record, java.lang.Object object)
directMarshal
in class AbstractNullPolicy
public boolean compositeObjectMarshal(XPathFragment xPathFragment, MarshalRecord marshalRecord, java.lang.Object object, CoreSession session, NamespaceResolver namespaceResolver)
compositeObjectMarshal
in class AbstractNullPolicy
public boolean compositeObjectMarshal(AbstractMarshalRecord record, java.lang.Object object, Field field, CoreAbstractSession session)
compositeObjectMarshal
in class AbstractNullPolicy
public void xPathNode(XPathNode xPathNode, NullCapableValue nullCapableValue)
AbstractNullPolicy
xPathNode
in class AbstractNullPolicy
public java.lang.String getIsSetMethodName()
public void setIsSetMethodName(java.lang.String anIsSetMethodName)
anIsSetMethodName
- public java.lang.Class[] getIsSetParameterTypes()
public void setIsSetParameterTypes(java.lang.Class[] parameterTypes)
parameterTypes
- public java.lang.Object[] getIsSetParameters()
public void setIsSetParameters(java.lang.Object[] parameters)
parameters
- EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference