Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.javatools.marshal
Interface StringConversion

All Known Implementing Classes:
InvokerRights, PlsqlParameterMode, VersionNumber

public interface StringConversion

A class that implements this interface indicates that it is able to:

  1. Persist itself as a single String through its toString() method.
  2. Completely initialize a new instance through a constructor that takes a single String parameter. This constructor thus performs the inverse operation of the toString() method.

The ToStringManager class mediates the conversion to and from a String representation. The ToStringManager will automatically detect that a class implements the StringConversion interface. Therefore classes implementing this interface do not need to be registered via the ToStringManager.registerConstructorSupportedConverter() method in order for the conversion to and from String to take place. Explicit registration is intended for already existing classes (e.g. java.net.URL) that cannot or should not be changed to include this interface in their implements clause.



Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.