Object

scales.xml.parser.strategies

HighMemoryOptimisation

Related Doc: package strategies

Permalink

object HighMemoryOptimisation extends PathOptimisationStrategy[ElemToken] with ElemOptimisationT[ElemToken] with QNameOptimisationT[ElemToken] with ElemTokenF

Optimises on QNames and Elems, reducing duplicates at the cost of CHM lookups.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HighMemoryOptimisation
  2. ElemTokenF
  3. QNameOptimisationT
  4. ElemOptimisationT
  5. PathOptimisationStrategy
  6. MemoryOptimisationStrategy
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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 attribute(qname: xml.AttributeQName, value: String, token: ElemToken): Attribute

    Permalink

    It is expected that certain attributes have fixed values, ie.

    It is expected that certain attributes have fixed values, ie. booleans or based on schema enums etc, this function allows such optimisations.

    The qname will have been obtained via a call to either noNamespaceQName, unprefixedQName or prefixedQName, so any optimisations provided by them can be leveraged.

    Definition Classes
    MemoryOptimisationStrategy
  6. def beginSubTree(stack: TreeProxies, elem: Elem, token: ElemToken): Unit

    Permalink

    Start a new "tree", pushing the elem to TreeProxies

    Start a new "tree", pushing the elem to TreeProxies

    Definition Classes
    PathOptimisationStrategy
  7. val cache: ConcurrentHashMap[Elem, Elem]

    Permalink
    Definition Classes
    ElemOptimisationT
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def createToken(implicit ver: XmlVersion, fromParser: FromParser): ElemToken

    Permalink
    Definition Classes
    ElemTokenF
  10. def elem(name: QName, attributes: xml.Attributes, namespaces: Map[String, String], token: ElemToken): Elem

    Permalink

    For files without large (and varied) attribute counts per repeated element it may represent significant space savings to optimise against the entire Elem itself.

    For files without large (and varied) attribute counts per repeated element it may represent significant space savings to optimise against the entire Elem itself.

    The Elements QName is garaunteed to be the last QName evaluated via the QName functions (i.e. Attributes are done first then the Elems QName)

    Definition Classes
    ElemOptimisationTMemoryOptimisationStrategy
  11. def elementEnd(xml: TreeProxies, token: ElemToken): Unit

    Permalink

    By default calls TreeProxies.elementEnd.

    By default calls TreeProxies.elementEnd. Replacing entire subtrees can be performed here.

    Definition Classes
    PathOptimisationStrategy
  12. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def noNamespaceQName(local: String, token: ElemToken): NoNamespaceQName

    Permalink

    The creation costs can also be reduced

    The creation costs can also be reduced

    Definition Classes
    QNameOptimisationTMemoryOptimisationStrategy
  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. def prefixedQName(local: String, uri: String, prefix: String, token: ElemToken): PrefixedQName

    Permalink
  23. val qNameCache: ConcurrentHashMap[FullEqualQNameKey, QName]

    Permalink
    Definition Classes
    QNameOptimisationT
  24. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def unprefixedQName(local: String, uri: String, token: ElemToken): UnprefixedQName

    Permalink
  27. def value[T <: QName](key: FullEqualQNameKey)(newT: (FullEqualQNameKey) ⇒ T): T

    Permalink
    Definition Classes
    QNameOptimisationT
  28. final def wait(): Unit

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

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

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

Inherited from ElemTokenF

Inherited from QNameOptimisationT[ElemToken]

Inherited from ElemOptimisationT[ElemToken]

Inherited from AnyRef

Inherited from Any

Ungrouped