Class

io.scalajs.npm.xml2js

BuilderOptions

Related Doc: package xml2js

Permalink

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)

    Permalink

    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

    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. var allowSurrogateChars: UndefOr[Boolean]

    Permalink

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

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. var cdata: UndefOr[Boolean]

    Permalink

    Wrap text nodes in

    Wrap text nodes in

    <![CDATA[ ... ]]>

    Does not add

    <![CDATA[ ... ]]>
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. var doctype: UndefOr[String]

    Permalink

    Optional DTD.

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hasOwnProperty(v: String): Boolean

    Permalink
    Definition Classes
    Object
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. var headless: UndefOr[Boolean]

    Permalink

    Omit the XML header.

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

  16. var indent: UndefOr[String]

    Permalink

    Whitespace for indentation (only when pretty)

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isPrototypeOf(v: Object): Boolean

    Permalink
    Definition Classes
    Object
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. var newline: UndefOr[String]

    Permalink

    Newline char (only when pretty)

  21. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  23. def propertyIsEnumerable(v: String): Boolean

    Permalink
    Definition Classes
    Object
  24. var renderOpts: UndefOr[RenderOptions]

    Permalink

    Rendering options for xmlbuilder-js.pretty: prettify generated XML.

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

  25. var rootName: UndefOr[String]

    Permalink

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

    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)

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

    Permalink
    Definition Classes
    AnyRef
  27. def toLocaleString(): String

    Permalink
    Definition Classes
    Object
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def valueOf(): Any

    Permalink
    Definition Classes
    Object
  30. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. var xmldec: UndefOr[XmlDeclarationOptions]

    Permalink

    XML declaration attributes (default { 'version': '1.0', 'encoding': 'UTF-8', 'standalone': true }).

    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

Inherited from Object

Inherited from Any

Inherited from AnyRef

Inherited from Any

Ungrouped