Stanse  -1
Static Public Member Functions | List of all members
cz.muni.stanse.utils.xmlpatterns.XMLAlgo Class Reference

Static Public Member Functions

static boolean equalElements (final Element e1, final Element e2)
 
static void outputXML (Node n, OutputStream o)
 
static void outputXML (Node n)
 
static Document toDocument (final String xml)
 
static Element toElement (final String xml)
 

Member Function Documentation

static boolean cz.muni.stanse.utils.xmlpatterns.XMLAlgo.equalElements ( final Element  e1,
final Element  e2 
)
inlinestatic

Check if two elements are (recursively) equal

TODO: remove and use equality tester from dom4j pkg

Parameters
e1first element
e2second element
static void cz.muni.stanse.utils.xmlpatterns.XMLAlgo.outputXML ( Node  n,
OutputStream  o 
)
inlinestatic

Pretty-print XML node to a stream

Parameters
nnode to dump
ostream to dump to
static void cz.muni.stanse.utils.xmlpatterns.XMLAlgo.outputXML ( Node  n)
inlinestatic

Pretty-print XML node to the System.err

Parameters
nnode to dump
static Document cz.muni.stanse.utils.xmlpatterns.XMLAlgo.toDocument ( final String  xml)
inlinestatic
static Element cz.muni.stanse.utils.xmlpatterns.XMLAlgo.toElement ( final String  xml)
inlinestatic

The documentation for this class was generated from the following file: