Class AttributeParsers

java.lang.Object
com.google.gwt.uibinder.attributeparsers.AttributeParsers

public class AttributeParsers extends Object
Managers access to all implementations of AttributeParser.
  • Constructor Details

    • AttributeParsers

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

    • 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}">.