BEA Systems, Inc.

com.beasys.commerce.axiom.jsp.tags
Class TagHelper

java.lang.Object
  |
  +--com.beasys.commerce.axiom.jsp.tags.TagHelper

public class TagHelper
extends java.lang.Object

Assists custom tags in preparing arguments for JSP code generation.


Constructor Summary
TagHelper()
           
 
Method Summary
static java.lang.String refineString(java.lang.String inString)
          Strips jsp delimiters (<%= %>) from the incoming string, and/or adds escaped quotes, as necessary.
static java.lang.String refineString(java.lang.String inString, boolean addStringValueOf)
          Strips jsp delimiters (<%= %>) from the incoming string, and/or adds escaped quotes, as necessary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TagHelper

public TagHelper()
Method Detail

refineString

public static java.lang.String refineString(java.lang.String inString,
                                            boolean addStringValueOf)
Strips jsp delimiters (<%= %>) from the incoming string, and/or adds escaped quotes, as necessary.
Parameters:
inString - the String to be refined
addStringValueOf - indicates whether String.valueOf() should be applied to the String after its JSP delimiters are stripped.
Returns:
the refined String

refineString

public static java.lang.String refineString(java.lang.String inString)
Strips jsp delimiters (<%= %>) from the incoming string, and/or adds escaped quotes, as necessary. Applies String.valueOf() to the String whose jsp delimiters have been stripped.
Parameters:
inString - the String to be refined
Returns:
the refined String

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved