Class DomNodeHelper
- java.lang.Object
-
- org.ametys.plugins.contentio.archive.DomNodeHelper
-
final class DomNodeHelper extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description private
DomNodeHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static Optional<String>
_nonEmptyValue(Node node, String xpath)
(package private) static Date
nullableDatetimeValue(Node node, String xpath)
(package private) static Date
nullableDateValue(Node node, String xpath)
(package private) static String
nullableStringValue(Node node, String xpath)
(package private) static String[]
stringValues(Node node, String xpath)
-
-
-
Constructor Detail
-
DomNodeHelper
private DomNodeHelper()
-
-
Method Detail
-
nullableStringValue
static String nullableStringValue(Node node, String xpath) throws TransformerException
- Throws:
TransformerException
-
_nonEmptyValue
private static Optional<String> _nonEmptyValue(Node node, String xpath) throws TransformerException
- Throws:
TransformerException
-
nullableDateValue
static Date nullableDateValue(Node node, String xpath) throws TransformerException
- Throws:
TransformerException
-
nullableDatetimeValue
static Date nullableDatetimeValue(Node node, String xpath) throws TransformerException
- Throws:
TransformerException
-
stringValues
static String[] stringValues(Node node, String xpath) throws TransformerException
- Throws:
TransformerException
-
-