Package org.fugerit.java.core.xml.dom
Class DOMUtils
- java.lang.Object
-
- org.fugerit.java.core.xml.dom.DOMUtils
-
public class DOMUtils extends Object
Utilities for handling DOM structures- Author:
- Fugerit
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Properties
attributesToProperties(Element tag)
Build a property object containing attributes of a xml Element.static void
attributesToProperties(Element tag, Properties props)
Build a property object containing attributes of a xml Element.
-
-
-
Method Detail
-
attributesToProperties
public static Properties attributesToProperties(Element tag)
Build a property object containing attributes of a xml Element.- Parameters:
tag
- the element- Returns:
- the attribute mapping as a propery object
-
attributesToProperties
public static void attributesToProperties(Element tag, Properties props)
Build a property object containing attributes of a xml Element.- Parameters:
tag
- the elementprops
- the properties to fill with element attibutes
-
-