Class TSEncoder

    • Constructor Detail

      • TSEncoder

        public TSEncoder()
    • Method Detail

      • encode

        public String encode​(String text,
                             EncoderContext context)
        Description copied from interface: IEncoder
        Encodes a given text with this encoder.
        Specified by:
        encode in interface IEncoder
        Overrides:
        encode in class XMLEncoder
        Parameters:
        text - the text to encode.
        context - the context of the text: 0=text, 1=skeleton, 2=inline.
        Returns:
        the encoded text.
      • toNative

        public String toNative​(String propertyName,
                               String value)
        Description copied from interface: IEncoder
        Converts any property values from its standard representation to the native representation for this encoder.
        Specified by:
        toNative in interface IEncoder
        Overrides:
        toNative in class XMLEncoder
        Parameters:
        propertyName - the name of the property.
        value - the standard value to convert.
        Returns:
        the native representation of the given value.