Package app.tozzi.mail.pec.util
Class XMLDocumentUtils
- java.lang.Object
-
- app.tozzi.mail.pec.util.XMLDocumentUtils
-
public class XMLDocumentUtils extends Object
- Author:
- biagio.tozzi
-
-
Constructor Summary
Constructors Constructor Description XMLDocumentUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetAttribute(Document doc, String path, String attributeName, boolean nullable)static Map<String,String>getTextAndAttribute(Document document, String path, String attribute, boolean nullable)static StringgetTextContent(Document document, String path, boolean nullable)
-
-
-
Method Detail
-
getAttribute
public static String getAttribute(Document doc, String path, String attributeName, boolean nullable) throws PECParserException
- Throws:
PECParserException
-
getTextAndAttribute
public static Map<String,String> getTextAndAttribute(Document document, String path, String attribute, boolean nullable) throws PECParserException
- Throws:
PECParserException
-
getTextContent
public static String getTextContent(Document document, String path, boolean nullable) throws PECParserException
- Throws:
PECParserException
-
-