|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.persistence.mappings.DatabaseMapping org.eclipse.persistence.mappings.foundation.AbstractDirectMapping org.eclipse.persistence.oxm.mappings.XMLDirectMapping org.eclipse.persistence.oxm.mappings.XMLFragmentMapping
public class XMLFragmentMapping
PUBLIC:
Purpose:This mapping provides a means to keep a part of an XML tree as a Node.
Field Summary |
---|
Fields inherited from class org.eclipse.persistence.oxm.mappings.XMLDirectMapping |
---|
EMPTY_STRING, isCDATA |
Fields inherited from class org.eclipse.persistence.mappings.foundation.AbstractDirectMapping |
---|
attributeClassification, attributeClassificationName, attributeObjectClassification, converter, converterClassName, field, isMutable, nullValue |
Fields inherited from class org.eclipse.persistence.mappings.DatabaseMapping |
---|
attributeAccessor, attributeName, descriptor, fields, isLazy, isOptional, isReadOnly, isRemotelyInitialized, NO_FIELDS, NO_WEIGHT, primaryKeyMapping, properties, weight, WEIGHT_1 |
Constructor Summary | |
---|---|
XMLFragmentMapping()
|
Method Summary | |
---|---|
boolean |
isAbstractDirectMapping()
INTERNAL: |
void |
setXPath(java.lang.String xpathString)
Set the Mapping field name attribute to the given XPath String |
java.lang.Object |
valueFromRow(org.eclipse.persistence.internal.sessions.AbstractRecord row,
org.eclipse.persistence.internal.queries.JoinedAttributeManager joinManager,
ObjectBuildingQuery query,
org.eclipse.persistence.internal.sessions.AbstractSession executionSession)
INTERNAL: Return the mapping's attribute value from the row. |
void |
writeFromObjectIntoRow(java.lang.Object object,
org.eclipse.persistence.internal.sessions.AbstractRecord row,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: Get a value from the object and set that in the respective field of the row. |
void |
writeSingleValue(java.lang.Object attributeValue,
java.lang.Object parent,
XMLRecord row,
org.eclipse.persistence.internal.sessions.AbstractSession session)
INTERNAL: A method that marshals a single value to the provided Record based on this mapping's XPath. |
Methods inherited from class org.eclipse.persistence.oxm.mappings.XMLDirectMapping |
---|
getAttributeValue, getFieldValue, getNullPolicy, getXPath, initialize, isCDATA, isXMLMapping, setAttributeValueInObject, setIsCDATA, setNullPolicy, writeValueIntoRow |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XMLFragmentMapping()
Method Detail |
---|
public void writeFromObjectIntoRow(java.lang.Object object, org.eclipse.persistence.internal.sessions.AbstractRecord row, org.eclipse.persistence.internal.sessions.AbstractSession session)
writeFromObjectIntoRow
in class XMLDirectMapping
public java.lang.Object valueFromRow(org.eclipse.persistence.internal.sessions.AbstractRecord row, org.eclipse.persistence.internal.queries.JoinedAttributeManager joinManager, ObjectBuildingQuery query, org.eclipse.persistence.internal.sessions.AbstractSession executionSession)
XMLDirectMapping
valueFromRow
in class XMLDirectMapping
public void writeSingleValue(java.lang.Object attributeValue, java.lang.Object parent, XMLRecord row, org.eclipse.persistence.internal.sessions.AbstractSession session)
XMLMapping
writeSingleValue
in interface XMLMapping
writeSingleValue
in class XMLDirectMapping
attributeValue
- - The value to be marshalledrow
- - The Record the value is being marshalled too.public void setXPath(java.lang.String xpathString)
XMLDirectMapping
setXPath
in class XMLDirectMapping
xpathString
- Stringpublic boolean isAbstractDirectMapping()
AbstractDirectMapping
isAbstractDirectMapping
in class AbstractDirectMapping
|
EclipseLink1.0 - 20080707 API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |