Class XmlFns


  • public class XmlFns
    extends java.lang.Object
    Functions to manipulate XML/HTML for EL.
    Since:
    3.5.0
    Author:
    tomyeh
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlFns()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String attr​(java.lang.String name, java.lang.Object val)
      Generates an attribute for HTML/XML.
      • Methods inherited from class java.lang.Object

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

      • XmlFns

        public XmlFns()
    • Method Detail

      • attr

        public static final java.lang.String attr​(java.lang.String name,
                                                  java.lang.Object val)
        Generates an attribute for HTML/XML. If val is null or empty (if String), nothing is generated.