object XmlNode extends XmlNodeInstances with XmlNodeSyntax
- Alphabetic
- By Inheritance
- XmlNode
- XmlNodeSyntax
- XmlNodeInstances
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final class Group extends XmlNode
Class that represent a group of nodes without a container node.
- final class Node extends XmlNode
Represent a simple single XML node.
Represent a simple single XML node.
<Bar> <Foo a="1"> <Foo a="2"> <Foo a="3"> </Bar>
- implicit class GenericXmlNodeReadOps[K <: XmlNode] extends AnyRef
- Definition Classes
- XmlNodeSyntax
- implicit class GenericXmlNodeWriteOps[K <: XmlNode] extends AnyRef
- Definition Classes
- XmlNodeSyntax
- implicit class XmlNodeCursorOps extends AnyRef
- Definition Classes
- XmlNodeSyntax
- implicit class XmlNodeNodeWriteOps extends AnyRef
- Definition Classes
- XmlNodeSyntax
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
- def apply(label: String, attributes: List[XmlAttribute] = Nil, content: NodeContent = NodeContent.empty): Node
Unsafe create a new XmlNode.Node
Unsafe create a new XmlNode.Node
Throws
IllegalArgumentException
If label is not a valid xml name or attributes and content are null.- label
Node label value. Must be valid and non-empty. See Xml.isValidXmlName
- attributes
Not attributes, could be empty.
- content
Node content.
- returns
A new XmlNode.Node instance with the specified values
- Annotations
- @impure()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- lazy val emptyGroup: Group
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit val eqXmlNode: Eq[XmlNode]
- Definition Classes
- XmlNodeInstances
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def fromSeq(elements: Seq[XmlNode]): XmlNode
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def group(elements: Seq[XmlNode]): Group
Create a new XmlNode.Group instance with the specified XmlNodes
Create a new XmlNode.Group instance with the specified XmlNodes
- elements
Group elements
- returns
A new XmlNode.Group instance with the specified XmlNodes
- def group(node: XmlNode, nodeN: XmlNode*): Group
Create a new XmlNode.Group instance with the specified XmlNodes
Create a new XmlNode.Group instance with the specified XmlNodes
- node
element
- nodeN
other elements
- returns
A new XmlNode.Group instance with the specified XmlNodes
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit val monoidXmlNodeGroup: kernel.Monoid[XmlNode]
- Definition Classes
- XmlNodeInstances
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def safeApply(label: String, attributes: List[XmlAttribute] = Nil, content: NodeContent = NodeContent.empty): Either[Throwable, Node]
Safely create a new XmlNode.Node
Safely create a new XmlNode.Node
- label
Node label value. Must be valid and non-empty
- attributes
Not attributes, could be empty.
- content
Node content.
- returns
A new XmlNode.Node instance with the specified values
- implicit def showXmlNode[T <: XmlNode](implicit printer: XmlPrinter, config: Config): Show[T]
- Definition Classes
- XmlNodeInstances
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)