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

E13403-05

oracle.jdeveloper.jsp.faces
Interface FacesUniqueIDGenerator


public interface FacesUniqueIDGenerator

FacesUniqueIDGenerator provides a plugin mechanism for clients to pitch in their own Unique ID generation logic.


Method Summary
 java.lang.String generateUniqueID(oracle.bali.xml.model.AbstractModel model, java.lang.String prefix)
          Generates a unique ID, using a given prefix, which is guaranteed to be unique across the model.
 boolean isApplicable(oracle.bali.xml.model.XmlContext xmlContext)
          Checks whether this FacesUniqueIDGenerator is applicable in a given context or not.
 

Method Detail

generateUniqueID

java.lang.String generateUniqueID(oracle.bali.xml.model.AbstractModel model,
                                  java.lang.String prefix)
Generates a unique ID, using a given prefix, which is guaranteed to be unique across the model.

Parameters:
model - The Abstract Model.
prefix - The base prefix for the ID.
Returns:
String The unique ID.

isApplicable

boolean isApplicable(oracle.bali.xml.model.XmlContext xmlContext)
Checks whether this FacesUniqueIDGenerator is applicable in a given context or not. For e.g. a given web document may allow ADF Faces components to be inserted or not.

Parameters:
xmlContext - The Xml Context.
Returns:
boolean TRUE, if FacesUniqueIDGenerator is applicable, FALSE otherwise.

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

E13403-05

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