Package com.microstrategy.web.platform
Class EmptyNamespaceEncoderImpl
- java.lang.Object
-
- com.microstrategy.web.platform.EmptyNamespaceEncoderImpl
-
- All Implemented Interfaces:
NamespaceEncoder
public class EmptyNamespaceEncoderImpl extends java.lang.Object implements NamespaceEncoder
This is an implementation of the NamespaceEncoder interface that performs on encoding--it merely passes the original string back to caller.- Since:
- MicroStrategy Web 8.0.0
-
-
Constructor Summary
Constructors Constructor Description EmptyNamespaceEncoderImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
encodeName(java.lang.String origName)
Given a name in our generated content (e.g., a form field), encode it as needed by the application environment.java.lang.String
encodeResourceURI(java.lang.String originalURI)
Given a static URI reference, encode it as needed by the application environment.void
init(java.lang.Object parent)
Initialize this object (supplying the parent object as the only parameter).
-
-
-
Method Detail
-
init
public void init(java.lang.Object parent)
Initialize this object (supplying the parent object as the only parameter).- Specified by:
init
in interfaceNamespaceEncoder
- Parameters:
parent
- The parent (enclosing) object that this Namespace Encoder is attached to.
-
encodeResourceURI
public java.lang.String encodeResourceURI(java.lang.String originalURI)
Given a static URI reference, encode it as needed by the application environment.- Specified by:
encodeResourceURI
in interfaceNamespaceEncoder
- Parameters:
originalURI
- The original URI for a static resource.- Returns:
- The encoded URI for the same resource.
-
encodeName
public java.lang.String encodeName(java.lang.String origName)
Given a name in our generated content (e.g., a form field), encode it as needed by the application environment.- Specified by:
encodeName
in interfaceNamespaceEncoder
- Parameters:
origName
- The name of the original object (e.g., FORM field)- Returns:
- The newly (encoded) name.
-
-