BidiFormatterBase.Factory (GWT Javadoc)

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.google.gwt.i18n.shared
Class BidiFormatterBase.Factory<T extends BidiFormatterBase>

    java.lang.Object
      com.google.gwt.i18n.shared.BidiFormatterBase.Factory<T>

Direct Known Subclasses:
  BidiFormatter.Factory, SafeHtmlBidiFormatter.Factory

Enclosing class:
  BidiFormatterBase

    protected abstract static class BidiFormatterBase.Factory<T extends BidiFormatterBase>

extends java.lang.Object

Abstract factory class for BidiFormatterBase. BidiFormatterBase subclasses will usually have a non-abstract inner Factory class subclassed from this one, and use a static member of that class in order to prevent the needless creation of objects. For example, see `BidiFormatter`.

Constructor Summary
`BidiFormatterBase.Factory()`

Method Summary
`abstract T` | `createInstance(HasDirection.Direction contextDir, boolean alwaysSpan)`
`T` | `getInstance(HasDirection.Direction contextDir, boolean alwaysSpan)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### BidiFormatterBase.Factory

    public BidiFormatterBase.Factory()

Method Detail

### createInstance

    public abstract T createInstance(HasDirection.Direction contextDir,
                                     boolean alwaysSpan)

### getInstance

    public T getInstance(HasDirection.Direction contextDir,
                         boolean alwaysSpan)

Overview | Package | Class | Use | Deprecated | Help
| GWT 2.7.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD