public class IsSetNullPolicy extends AbstractNullPolicy
The following instance fields can be set:
Usage:
NullCapableValueCOLON_W_SCHEMA_NIL_ATTRIBUTE, ignoreAttributesForNil, isNullRepresentedByEmptyNode, isNullRepresentedByXsiNil, isSetPerformedForAbsentNode, marshalNullRepresentation, TRUE, XSI_NIL_ATTRIBUTE| Constructor and Description |
|---|
IsSetNullPolicy()
Default Constructor
Set the IsSetPerformedForAbsentNode to false to enable the other 2 flags
isNullRepresentedByEmptyNode and isNullRepresentedByXsiNil
|
IsSetNullPolicy(String anIsSetMethodName)
Specific Constructor to set the name for checking the isSet state of the mapping
|
IsSetNullPolicy(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(org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord record,
Object object,
org.eclipse.persistence.internal.oxm.mappings.Field field,
org.eclipse.persistence.internal.core.sessions.CoreAbstractSession session)
INTERNAL
|
boolean |
compositeObjectMarshal(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment,
org.eclipse.persistence.internal.oxm.record.MarshalRecord marshalRecord,
Object object,
CoreSession session,
org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
INTERNAL
|
void |
directMarshal(org.eclipse.persistence.internal.oxm.mappings.Field field,
org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord record,
Object object)
INTERNAL
|
boolean |
directMarshal(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment,
org.eclipse.persistence.internal.oxm.record.MarshalRecord marshalRecord,
Object object,
CoreSession session,
org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
INTERNAL:
When using the SAX or DOM Platform, this method is responsible for
marshalling null values for the XML Direct Mapping.
|
String |
getIsSetMethodName() |
Object[] |
getIsSetParameters() |
Class[] |
getIsSetParameterTypes() |
void |
setIsSetMethodName(String anIsSetMethodName) |
void |
setIsSetParameters(Object[] parameters) |
void |
setIsSetParameterTypes(Class[] parameterTypes) |
void |
xPathNode(org.eclipse.persistence.internal.oxm.XPathNode xPathNode,
org.eclipse.persistence.internal.oxm.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, processNamespaceResolverForXSIPrefix, setIgnoreAttributesForNil, setMarshalNullRepresentation, setNullRepresentedByEmptyNode, setNullRepresentedByXsiNil, valueIsNull, valueIsNullpublic IsSetNullPolicy()
public IsSetNullPolicy(String anIsSetMethodName)
anIsSetMethodName - public IsSetNullPolicy(String anIsSetMethodName, boolean bIsNullRepresentedByEmptyNode, boolean bIsNullRepresentedByXsiNil, XMLNullRepresentationType aMarshalNullRepresentation)
anIsSetMethodName - bIsNullRepresentedByEmptyNode - bIsNullRepresentedByXsiNil - aMarshalNullRepresentation - public boolean directMarshal(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment,
org.eclipse.persistence.internal.oxm.record.MarshalRecord marshalRecord,
Object object,
CoreSession session,
org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
AbstractNullPolicydirectMarshal in class AbstractNullPolicypublic void directMarshal(org.eclipse.persistence.internal.oxm.mappings.Field field,
org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord record,
Object object)
directMarshal in class AbstractNullPolicypublic boolean compositeObjectMarshal(org.eclipse.persistence.internal.oxm.XPathFragment xPathFragment,
org.eclipse.persistence.internal.oxm.record.MarshalRecord marshalRecord,
Object object,
CoreSession session,
org.eclipse.persistence.internal.oxm.NamespaceResolver namespaceResolver)
compositeObjectMarshal in class AbstractNullPolicypublic boolean compositeObjectMarshal(org.eclipse.persistence.internal.oxm.record.AbstractMarshalRecord record,
Object object,
org.eclipse.persistence.internal.oxm.mappings.Field field,
org.eclipse.persistence.internal.core.sessions.CoreAbstractSession session)
compositeObjectMarshal in class AbstractNullPolicypublic void xPathNode(org.eclipse.persistence.internal.oxm.XPathNode xPathNode,
org.eclipse.persistence.internal.oxm.NullCapableValue nullCapableValue)
AbstractNullPolicyxPathNode in class AbstractNullPolicypublic String getIsSetMethodName()
public void setIsSetMethodName(String anIsSetMethodName)
anIsSetMethodName - public Class[] getIsSetParameterTypes()
public void setIsSetParameterTypes(Class[] parameterTypes)
parameterTypes - public Object[] getIsSetParameters()
public void setIsSetParameters(Object[] parameters)
parameters - Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.