cats-xml core
cats-xml core
cats.xml
AbstractXmlNode
JavaConverters
NodeContent
NodeContent
Children
Empty
Text
Xml
Xml
XmlNull
XmlAttribute
XmlAttribute
XmlData
XmlData
XmlNode
XmlNode
XmlNodeGroup
XmlParser
XmlParser
XmlPrinter
Config
Config
implicits
syntax
cats.xml.codec
Codec
Codec
DataEncoder
DataEncoder
Decoder
Decoder
DecoderFailure
DecoderFailure
CoproductNoMatch
CursorFailed
Custom
DecoderFailureException
Error
NoTextAvailable
DecoderFailureSyntax
classDecoderFailureNelOps
Encoder
Encoder
cats.xml.cursor
AttrCursor
AttrCursor
Op
Head
Last
Left
Right
SelectAttr
SelectAttrByIndex
Op
Cursor
Cursor
CursorOp
CursorOp
CursorFailure
CursorFailure
CursorFailureException
Custom
DecoderFailed
Error
FailedAttribute
FailedNode
InvalidTargetType
LeftBoundLimitAttr
Missing
MissingAttrAtIndex
MissingAttrByKey
MissingAttrHead
MissingAttrLast
MissingNode
MissingNodeAtIndex
MissingNodeFind
MissingNodeHead
MissingNodeLast
MissingText
RightBoundLimitAttr
ValidationsFailed
FreeCursor
FreeCursor
HCursor
NodeCursor
NodeCursor
Op
DeepDown
Down
FilterChildren
FindChild
Head
Last
SelectNodeByIndex
Op
Root
Simple
TextCursor
VCursor
cats.xml.modifier
Modifier
Modifier
ModifierFailure
ModifierFailure
CursorFailed
Custom
Error
InvalidData
ModifierFailureException
ModifierInstances
cats.xml.validator
Validator
Validator
cats-xml core
/
cats.xml
/
XmlNode
XmlNode
sealed
class
XmlNode
extends
AbstractXmlNode
Companion:
object
Graph
Supertypes
Known subtypes
trait
AbstractXmlNode
trait
Xml
class
Object
trait
Matchable
class
Any
class
XmlNodeGroup
Value members
Value members
Concrete methods
def
appendAttr
(
newAttr:
XmlAttribute
):
XmlNode
def
appendChild
(
child:
XmlNode
,
children:
XmlNode
*):
XmlNode
def
attributes
:
List
[
XmlAttribute
]
def
content
:
NodeContent
def
copy
(
label:
String
,
attributes:
List
[
XmlAttribute
],
content:
NodeContent
):
XmlNode
def
drainContent
:
XmlNode
override
def
equals
(
obj:
Any
):
Boolean
Definition Classes
Any
def
existsAttrValue
[
T
:
Decoder
](
key:
String
,
p:
T
=>
Boolean
):
Boolean
def
findAttr
(
key:
String
):
Option
[
XmlAttribute
]
def
findAttrValue
(
key:
String
):
Option
[
String
]
def
findAttrValue
[
T
:
Decoder
](
key:
String
):
Option
[
T
]
def
hasChildren
:
Boolean
def
hasText
:
Boolean
def
label
:
String
def
prependAttr
(
newAttr:
XmlAttribute
):
XmlNode
def
prependChild
(
child:
XmlNode
,
children:
XmlNode
*):
XmlNode
def
removeAttr
(
key:
String
):
XmlNode
def
text
:
Option
[
XmlData
]
def
updateAttr
(
key:
String
)(
f: ()
=>
XmlAttribute
):
XmlNode
def
updateAttrs
(
f: ()
=>
List
[
XmlAttribute
]):
XmlNode
def
updateChildren
(
f: ()
=>
Seq
[
XmlNode
]):
XmlNode
def
updateLabel
(
newLabel:
String
):
XmlNode
def
updateLabel
(
f: ()
=>
String
):
XmlNode
def
updateText
[
T
:
DataEncoder
](
f:
Option
[
XmlData
]
=>
T
):
XmlNode
def
withAttributes
(
attrs:
Seq
[
XmlAttribute
]):
XmlNode
def
withAttributes
(
attr:
XmlAttribute
,
attrs:
XmlAttribute
*):
XmlNode
def
withChild
(
child:
XmlNode
,
children:
XmlNode
*):
XmlNode
def
withChildren
(
children:
Seq
[
XmlNode
]):
XmlNode
def
withText
[
T
:
DataEncoder
](
data:
T
):
XmlNode
Inherited methods
final
def
asAttribute
:
Option
[
XmlAttribute
]
Inherited from:
Xml
final
def
asData
:
Option
[
XmlData
]
Inherited from:
Xml
final
def
asNode
:
Option
[
XmlNode
]
Inherited from:
Xml
def
children
:
Seq
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
deepSubNodes
:
LazyList
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
filterChildren
(
thatLabel:
String
):
List
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
filterChildrenBy
(
p:
XmlNode
=>
Boolean
):
List
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
filterDeepChildren
(
thatLabel:
String
):
LazyList
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
filterDeepChildrenBy
(
p:
XmlNode
=>
Boolean
):
LazyList
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
findChild
(
thatLabel:
String
):
Option
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
findChildBy
(
p:
XmlNode
=>
Boolean
):
Option
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
findDeepChild
(
thatLabel:
String
):
Option
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
findDeepChildBy
(
p:
XmlNode
=>
Boolean
):
Option
[
XmlNode
]
Inherited from:
AbstractXmlNode
def
isEmpty
:
Boolean
Inherited from:
AbstractXmlNode
Concrete fields
final lazy override
val
toString
:
String
Inherited fields
final lazy
val
isAttribute
:
Boolean
Inherited from:
Xml
final lazy
val
isData
:
Boolean
Inherited from:
Xml
lazy
val
isGroup
:
Boolean
Inherited from:
AbstractXmlNode
final lazy
val
isNode
:
Boolean
Inherited from:
Xml
final lazy
val
isNull
:
Boolean
Inherited from:
Xml