Packages

c

io.scalajs.npm.xml2js

BuilderOptions

class BuilderOptions extends Object

NodeJS/xml2js Builder Options

Annotations
@RawJSType() @ScalaJSDefined()
Linear Supertypes
Object, Any, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BuilderOptions
  2. Object
  3. Any
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new BuilderOptions(rootName: UndefOr[String] = js.undefined, renderOpts: UndefOr[RenderOptions] = js.undefined, indent: UndefOr[String] = js.undefined, xmldec: UndefOr[XmlDeclarationOptions] = js.undefined, newline: UndefOr[String] = js.undefined, doctype: UndefOr[String] = js.undefined, headless: UndefOr[Boolean] = js.undefined, allowSurrogateChars: UndefOr[Boolean] = js.undefined, cdata: UndefOr[Boolean] = js.undefined)

    rootName

    Root element name to be used in case explicitRoot is false or to override the root element name. (default root or the root key name)

    renderOpts

    Rendering options for xmlbuilder-js.pretty: prettify generated XML. (default { 'pretty': true, 'indent': ' ', 'newline': '\n' })

    indent

    Whitespace for indentation (only when pretty)

    xmldec

    XML declaration attributes (default { 'version': '1.0', 'encoding': 'UTF-8', 'standalone': true }). xmldec.version - A version number string, e.g. 1.0 xmldec.encoding - Encoding declaration, e.g. UTF-8 xmldec.standalone - Standalone document declaration: true or false

    newline

    Newline char (only when pretty)

    doctype

    Optional DTD. Eg. {'ext': 'hello.dtd'} (default null)

    headless

    Omit the XML header. Added in 0.4.3 (default: false)

    allowSurrogateChars

    Allows using characters from the Unicode surrogate blocks (default: false)

    cdata

    Wrap text nodes in

    <![CDATA[ ... ]]>

    Does not add

    <![CDATA[ ... ]]>

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. var allowSurrogateChars: UndefOr[Boolean]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. var cdata: UndefOr[Boolean]
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. var doctype: UndefOr[String]
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  13. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  15. var headless: UndefOr[Boolean]
  16. var indent: UndefOr[String]
  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. var newline: UndefOr[String]
  21. final def notify(): Unit
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  23. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  24. var renderOpts: UndefOr[RenderOptions]
  25. var rootName: UndefOr[String]
  26. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  27. def toLocaleString(): String
    Definition Classes
    Object
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. def valueOf(): Any
    Definition Classes
    Object
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. var xmldec: UndefOr[XmlDeclarationOptions]

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped