Class AttributeUtil



  • public final class AttributeUtil
    extends java.lang.Object
    Since:
    1.0.0
    • Method Detail

      • getAttributeHtmlString

        public static java.lang.String getAttributeHtmlString​(boolean rebuild,
                                                              AbstractAttribute... attributes)
        Parameters:
        rebuild -
        attributes -
        Returns:
        the attributes string starting with a space.
        Since:
        1.0.0
      • getAttributeHtmlString

        public static java.lang.String getAttributeHtmlString​(boolean rebuild,
                                                              java.nio.charset.Charset charset,
                                                              AbstractAttribute... attributes)
        Parameters:
        rebuild -
        attributes -
        charset - the charset
        Returns:
        the attributes string starting with a space.
        Since:
        1.0.0
      • getAttributeHtmlBytesCompressedByIndex

        public static byte[][] getAttributeHtmlBytesCompressedByIndex​(boolean rebuild,
                                                                      java.nio.charset.Charset charset,
                                                                      AbstractAttribute... attributes)
                                                               throws java.io.IOException
        Parameters:
        rebuild -
        attributes -
        charset - the charset
        Returns:
        the attributes bytes array compressed by index
        Throws:
        java.io.IOException
        Since:
        1.1.3
      • getWffAttributeBytes

        public static byte[][] getWffAttributeBytes​(java.lang.String charset,
                                                    AbstractAttribute... attributes)
                                             throws java.io.UnsupportedEncodingException
        Parameters:
        attributes -
        charset - the charset
        Returns:
        the wff attributes strings bytes array.
        Throws:
        java.io.UnsupportedEncodingException
        Since:
        2.0.0