object QNameElemTreeOptimisation extends PathOptimisationStrategy[ElemToken] with ElemQNameOptimisationT[ElemToken] with TreeOptimisation[ElemToken] with ElemTokenF
Optimised QNames, Elems and Tree, heavily reduced memory consumption with LazyOptimisedTree.
- Alphabetic
- By Inheritance
- QNameElemTreeOptimisation
- ElemTokenF
- TreeOptimisation
- ElemQNameOptimisationT
- QNameOptimisationT
- PathOptimisationStrategy
- MemoryOptimisationStrategy
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def attribute(qname: xml.AttributeQName, value: String, token: ElemToken): Attribute
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
- def beginSubTree(stack: TreeProxies, elem: Elem, token: ElemToken): Unit
Start a new "tree", pushing the elem to TreeProxies
Start a new "tree", pushing the elem to TreeProxies
- Definition Classes
- PathOptimisationStrategy
- val cacheAll: Boolean
- Definition Classes
- ElemQNameOptimisationT
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createToken(implicit ver: XmlVersion, fromParser: FromParser): ElemToken
- Definition Classes
- ElemTokenF
- val ecache: ConcurrentHashMap[ElemKey, Elem]
- Definition Classes
- ElemQNameOptimisationT
- def elem(name: QName, attributes: xml.Attributes, namespaces: Map[String, String], token: ElemToken): Elem
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
- ElemQNameOptimisationT → MemoryOptimisationStrategy
- def elemValue(key: ElemKey)(newT: (ElemKey) => Elem): Elem
- Definition Classes
- ElemQNameOptimisationT
- final def elementEnd(xml: TreeProxies, token: ElemToken): Unit
By default calls TreeProxies.elementEnd.
By default calls TreeProxies.elementEnd. Replacing entire subtrees can be performed here.
- Definition Classes
- TreeOptimisation → PathOptimisationStrategy
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newTree(elem: Elem, children: xml.XmlChildren, token: ElemToken)(implicit seqLikeThing: SeqLikeThing[xml.XCC[_], utils.ItemOrTree[XmlItem, Elem, xml.XCC], xml.XCC]): xml.XmlTree
- Definition Classes
- QNameElemTreeOptimisation → TreeOptimisation
- def noNamespaceQName(local: String, token: ElemToken): NoNamespaceQName
The creation costs can also be reduced
The creation costs can also be reduced
- Definition Classes
- QNameOptimisationT → MemoryOptimisationStrategy
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def prefixedQName(local: String, uri: String, prefix: String, token: ElemToken): PrefixedQName
- Definition Classes
- QNameOptimisationT → MemoryOptimisationStrategy
- val qNameCache: ConcurrentHashMap[FullEqualQNameKey, QName]
- Definition Classes
- QNameOptimisationT
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def unprefixedQName(local: String, uri: String, token: ElemToken): UnprefixedQName
- Definition Classes
- QNameOptimisationT → MemoryOptimisationStrategy
- def value[T <: QName](key: FullEqualQNameKey)(newT: (FullEqualQNameKey) => T): T
- Definition Classes
- QNameOptimisationT
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()