Class

eu.cdevreeze.yaidom.core.ENameProvider

ThreadLocalENameProvider

Related Doc: package ENameProvider

Permalink

final class ThreadLocalENameProvider extends ENameProvider

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

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

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

Instance Constructors

  1. new ThreadLocalENameProvider(enameProviderCreator: () ⇒ ENameProvider)

    Permalink

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 enameProviderCreator: () ⇒ ENameProvider

    Permalink
  7. def enameProviderOfCurrentThread: ENameProvider

    Permalink

    Returns the ENameProvider instance attached to the current thread.

  8. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getEName(namespaceUri: String, localPart: String): EName

    Permalink

    Gets an EName with the given namespace URI and local part

    Gets an EName with the given namespace URI and local part

    Definition Classes
    ThreadLocalENameProviderENameProvider
  13. def getEName(namespaceUriOption: Option[String], localPart: String): EName

    Permalink

    Gets an EName with the given optional namespace URI and local part

    Gets an EName with the given optional namespace URI and local part

    Definition Classes
    ThreadLocalENameProviderENameProvider
  14. def getNoNsEName(localPart: String): EName

    Permalink

    Gets an EName with the given local part, and without any namespace

    Gets an EName with the given local part, and without any namespace

    Definition Classes
    ThreadLocalENameProviderENameProvider
  15. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def parseEName(s: String): EName

    Permalink

    Gets an EName parsed from the given string representation (in James Clark notation)

    Gets an EName parsed from the given string representation (in James Clark notation)

    Definition Classes
    ThreadLocalENameProviderENameProvider
  21. def setENameProviderOfCurrentThread(enameProvider: ENameProvider): Unit

    Permalink

    Updates the ENameProvider instance attached to the current thread.

  22. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from ENameProvider

Inherited from AnyRef

Inherited from Any

Ungrouped