MarshallingContext that manages references.
| Modifier and Type | Method and Description |
|---|---|
| public Path | |
| public Object | Returns: the reference key ornullthe item to lookup item)Request the reference key for the given item |
| public void | |
| public void |
| currentPath | back to summary |
|---|---|
| public Path currentPath()
Deprecated As of 1.4.2 Retrieve the current path.
| |
| lookupReference | back to summary |
|---|---|
| public Object lookupReference(Object item) Request the reference key for the given item | |
| registerImplicit | back to summary |
|---|---|
| public void registerImplicit(Object item) Register an implicit element. This is typically some kind of collection. Note, that this object may not be referenced anywhere else in the object stream.
| |
| replace | back to summary |
|---|---|
| public void replace(Object original, Object replacement) Replace the currently marshalled item. Use this method only, if you know exactly what you do! It is a special solution for Serializable types that make usage of the writeReplace method where the replacing object itself is referenced. | |