public interface

NamespaceEncoder

com.microstrategy.web.platform.NamespaceEncoder
Known Indirect Subclasses

Class Overview

This interface is used to encode a namespace into the domain of an object.

Summary

Public Methods
abstract String encodeName(String origName)
Given a name in our generated content (e.g., a form field), encode it as needed by the application environment.
abstract String encodeResourceURI(String originalURI)
Given a static URI reference, encode it as needed by the application environment.
abstract void init(Object parent)
Initialize this object (supplying the parent object as the only parameter).

Public Methods

public abstract String encodeName (String origName)

Given a name in our generated content (e.g., a form field), encode it as needed by the application environment.

Parameters
origName The name of the original object (e.g., FORM field)
Returns
  • The newly (encoded) name.

public abstract String encodeResourceURI (String originalURI)

Given a static URI reference, encode it as needed by the application environment.

Parameters
originalURI The original URI for a static resource.
Returns
  • The encoded URI for the same resource.

public abstract void init (Object parent)

Initialize this object (supplying the parent object as the only parameter).

Parameters
parent The parent (enclosing) object that this Namespace Encoder is attached to.