Class AttributeParsers


  • public class AttributeParsers
    extends java.lang.Object
    Managers access to all implementations of AttributeParser.
    • Constructor Summary

      Constructors 
      Constructor Description
      AttributeParsers​(TypeOracle types, com.google.gwt.uibinder.rebind.FieldManager fieldManager, com.google.gwt.uibinder.rebind.MortalLogger logger)  
    • Constructor Detail

      • AttributeParsers

        public AttributeParsers​(TypeOracle types,
                                com.google.gwt.uibinder.rebind.FieldManager fieldManager,
                                com.google.gwt.uibinder.rebind.MortalLogger logger)
    • Method Detail

      • getParser

        public AttributeParser getParser​(JType... types)
        Returns a parser for the given type(s). Accepts multiple types args to allow requesting parsers for things like for pairs of ints.
      • getSafeUriInHtmlParser

        public AttributeParser getSafeUriInHtmlParser()
        Returns a parser specialized for handling URI references in html contexts, like <a href="{foo.bar}">.