Class 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
    • 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).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • EmptyNamespaceEncoderImpl

        public EmptyNamespaceEncoderImpl()
    • 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 interface NamespaceEncoder
        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 interface NamespaceEncoder
        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 interface NamespaceEncoder
        Parameters:
        origName - The name of the original object (e.g., FORM field)
        Returns:
        The newly (encoded) name.