Class NativeHelpers


  • public class NativeHelpers
    extends java.lang.Object
    Utilities for implementing Native.Helper.
    Since:
    3.0.0
    Author:
    tomyeh
    • Constructor Summary

      Constructors 
      Constructor Description
      NativeHelpers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void getAttributes​(java.lang.StringBuffer sb, java.util.Map<java.lang.String,​java.lang.Object> props, java.util.Collection<Namespace> namespaces)
      Generates the attributes for the specified properties and namespaces.
      • Methods inherited from class java.lang.Object

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

      • NativeHelpers

        public NativeHelpers()
    • Method Detail

      • getAttributes

        public static final void getAttributes​(java.lang.StringBuffer sb,
                                               java.util.Map<java.lang.String,​java.lang.Object> props,
                                               java.util.Collection<Namespace> namespaces)
        Generates the attributes for the specified properties and namespaces.
        Parameters:
        props - a map of name and value pairs or null if no properties at all. Note: the value doesn't contain any EL expression.
        namespaces - a list of Namespace to be generated, or null if not. Note: EL expressions is not allowed