Show / Hide Table of Contents

Class AbstractPofPath

Abstract base class for static, path-based implementations of IPofNavigator interface.

Inheritance
object
AbstractPofPath
SimplePofPath
Implements
IPofNavigator
IPortableObject
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Tangosol.IO.Pof.Reflection
Assembly: Coherence.dll
Syntax
public abstract class AbstractPofPath : IPofNavigator, IPortableObject

Methods

GetPathElements()

Return a collection of path elements.

Declaration
protected abstract int[] GetPathElements()
Returns
Type Description
int[]

A collection of path elements.

Navigate(IPofValue)

Locate the IPofValue designated by this IPofNavigator within the passed IPofValue.

Declaration
public IPofValue Navigate(IPofValue valueOrigin)
Parameters
Type Name Description
IPofValue valueOrigin

The origin from which navigation starts.

Returns
Type Description
IPofValue

The resulting IPofValue.

Exceptions
Type Condition
PofNavigationException

If the navigation fails; for example one of the intermediate nodes in this path is a "terminal" IPofValue.

ReadExternal(IPofReader)

Restore the contents of a user type instance by reading its state using the specified IPofReader object.

Declaration
public abstract void ReadExternal(IPofReader reader)
Parameters
Type Name Description
IPofReader reader

The IPofReader from which to read the object's state.

Exceptions
Type Condition
IOException

If an I/O error occurs.

WriteExternal(IPofWriter)

Save the contents of a POF user type instance by writing its state using the specified IPofWriter object.

Declaration
public abstract void WriteExternal(IPofWriter writer)
Parameters
Type Name Description
IPofWriter writer

The IPofWriter to which to write the object's state.

Exceptions
Type Condition
IOException

If an I/O error occurs.

Implements

IPofNavigator
IPortableObject
In this article
Back to top Copyright © 2000, 2024, Oracle and/or its affiliates.