Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

oracle.apps.fnd.applcore.search
Class DefaultKeySplitter

java.lang.Object
  extended by oracle.apps.fnd.applcore.search.BaseKeySplitter
      extended by oracle.apps.fnd.applcore.search.DefaultKeySplitter
All Implemented Interfaces:
ApplcoreKeySplitter

public class DefaultKeySplitter
extends BaseKeySplitter
implements ApplcoreKeySplitter

A default implementation of ApplcoreKeySplitter that separates the key parts as a simple period delimited list. No interpretation or decoding of the parts is done, in particular if a cperiod is a part of the key value, this implementation will fail.

Author:
David Groves <david.groves@oracle.com>

Constructor Summary
DefaultKeySplitter()
           
 
Method Summary
 java.util.List<java.lang.String> splitKeys(java.lang.String key)
          Split the arguement based on periods "." in the string.
 
Methods inherited from class oracle.apps.fnd.applcore.search.BaseKeySplitter
getPkColNames, loadKeySplitter, setPKColNames
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface oracle.apps.fnd.applcore.search.ApplcoreKeySplitter
setPKColNames
 

Constructor Detail

DefaultKeySplitter

public DefaultKeySplitter()
Method Detail

splitKeys

public java.util.List<java.lang.String> splitKeys(java.lang.String key)
Split the arguement based on periods "." in the string. No interpretaion is done on the contents, and if there is a period within a key part, this implementation will return the wrong number of pieces.

Specified by:
splitKeys in interface ApplcoreKeySplitter
Parameters:
key - period separated key - example "a.b.cde"
Returns:
A list, example ["a", "b", "cde"]

Oracle Fusion Middleware extensions for Applications Core API Reference
11g Release 1 (11.1.2)

E22562-02

Copyright © 2011 Oracle. All Rights Reserved.