Object/Trait

eu.cdevreeze.yaidom.core

QNameProvider

Related Docs: trait QNameProvider | package core

Permalink

object QNameProvider

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. QNameProvider
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. final class QNameProviderUsingImmutableCache extends QNameProvider

    Permalink

    Simple QName provider using an immutable cache.

    Simple QName provider using an immutable cache. It can be long-lived.

  2. final class SimpleCachingQNameProvider extends QNameProvider

    Permalink

    Simple caching QName provider.

    Simple caching QName provider. The underlying cache is based on a normal Map implementation, so the cache can only grow. Therefore this QName provider is not meant to be a "global" cache with application scope, but it should be rather short-lived.

  3. final class ThreadLocalQNameProvider extends QNameProvider

    Permalink

    Thread-local QNameProvider.

    Thread-local QNameProvider. This class exists because there is precisely one globally used QNameProvider, and by using this thread-local QNameProvider it is possible to make the global QNameProvider configurable per thread again. Also note that the QNameProviders bound to a thread are local to that thread, so they do not suffer from any thread-safety issues (unless a non-thread-safe QName provider instance is shared).

    Note that each ThreadLocalQNameProvider instance (!) has its own thread-local QName provider. Typically it makes no sense to have more than one ThreadLocalQNameProvider instance in one application. In a Spring application, for example, a single instance of a ThreadLocalQNameProvider can be configured.

  4. final class TrivialQNameProvider extends QNameProvider

    Permalink

    Trivial, non-caching, QName provider.

  5. final class UpdatableQNameProvider extends QNameProvider

    Permalink

    "Updatable" QName provider.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val defaultInstance: QNameProvider

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. implicit val globalQNameProvider: UpdatableQNameProvider

    Permalink

    The implicit global QNameProvider is by default a "trivial" QNameProvider, but can be updated.

    The implicit global QNameProvider is by default a "trivial" QNameProvider, but can be updated. Being a val holding an UpdatableQNameProvider, instead of a var holding any QNameProvider, the identifier QNameProvider.globalQNameProvider is stable, and therefore its members can be imported.

    Be careful: this global instance should be updated only during the "startup phase" of the application. Also be careful to choose an instance that is thread-safe and designed for a "long life" (unlike caching providers that can only grow a lot).

  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped