scales.xml.serializers

XHTMLLSSerializer

trait XHTMLLSSerializer extends LSSerializer

Adds an extra space after an empty element

Source
LSSerializer.scala
Linear Supertypes
LSSerializer, Serializer, AnyRef, Any
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. XHTMLLSSerializer
  2. LSSerializer
  3. Serializer
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val data: SerializerData

    Definition Classes
    LSSerializer
  2. abstract val doc: Document

    Definition Classes
    LSSerializer
  3. abstract val docBuilderF: DocumentBuilderFactory

    Definition Classes
    LSSerializer
  4. abstract val encMap: (String) ⇒ Option[Throwable]

    Can the ncName be mapped for a given encoding

    Can the ncName be mapped for a given encoding

    Definition Classes
    LSSerializer
  5. abstract val impl: DOMImplementationLS

    Definition Classes
    LSSerializer
  6. abstract val lsaout: LSOutput

    Definition Classes
    LSSerializer
  7. abstract val lsout: LSOutput

    Definition Classes
    LSSerializer
  8. abstract val lss: org.w3c.dom.ls.LSSerializer

    Definition Classes
    LSSerializer

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. lazy val canEncode: (String) ⇒ Boolean

    See default SF for logic on this, however faulty :-)

    See default SF for logic on this, however faulty :-)

    Definition Classes
    LSSerializer
  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def ct(t: ⇒ Boolean, s: ⇒ String): Option[Throwable]

    Definition Classes
    LSSerializer
  10. def doElem(qName: QName, attribs: Traversable[Attribute], ns: Map[String, String], declareDefaultNS: Option[String]): Option[Throwable]

    Override this to order the attributes.

    Override this to order the attributes.

    Definition Classes
    LSSerializer
  11. def emptyElement(qName: QName, attributes: Traversable[Attribute], namespaces: Map[String, String], declareDefaultNS: Option[String], path: List[QName]): Option[Throwable]

    Definition Classes
    XHTMLLSSerializerLSSerializerSerializer
  12. lazy val encoder: CharsetEncoder

    Definition Classes
    LSSerializer
  13. def endElement(qName: QName, path: List[QName]): Option[Throwable]

    Definition Classes
    LSSerializerSerializer
  14. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  20. def item(item: XmlItem, path: List[QName]): Option[Throwable]

    LSSerializer in 6_24 is garbage, but the xalan one isn't much better.

    LSSerializer in 6_24 is garbage, but the xalan one isn't much better. jre uses hex, xalan numberic character refs. And jre is totally useless for cdata, writing no end part, both ignore the split-cdata-sections option when escaping, choosing to split, I assume this is only being done for character refs but follows the DOMConfiguration (instead of the load and save spec) for end sequence splitting.

    As such there only seems to be one safe way to handle this: # Use the encoder to check if a CData or Comment can be written without splitting, throw if it can't. # Write the start and end CData directly

    Definition Classes
    LSSerializerSerializer
  21. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  22. final def notify(): Unit

    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  24. def startElement(qName: QName, attributes: Traversable[Attribute], namespaces: Map[String, String], declareDefaultNS: Option[String], path: List[QName]): Option[Throwable]

    Definition Classes
    LSSerializerSerializer
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. lazy val textNode: org.w3c.dom.Text

    Definition Classes
    LSSerializer
  27. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. def writeAttr(before: ⇒ String, toCt: ⇒ String, after: ⇒ String): Option[Throwable]

    Definition Classes
    LSSerializer
  32. def writeNonText(item: XmlItem, path: List[QName]): Option[Throwable]

    Performs the actual write for Comments/CData/PI, due to LSSerializer issues this function is seperated for easy overriding, should anyone really trust their DOM/JAXP versions.

    Performs the actual write for Comments/CData/PI, due to LSSerializer issues this function is seperated for easy overriding, should anyone really trust their DOM/JAXP versions.

    For this method to be called the encoding has already been verified.

    Definition Classes
    LSSerializer
  33. def xmlDeclaration(encoding: Charset, version: XmlVersion): Option[Throwable]

    Definition Classes
    LSSerializerSerializer

Inherited from LSSerializer

Inherited from Serializer

Inherited from AnyRef

Inherited from Any

Ungrouped