| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static String | |
| pack-priv static String | |
| public static String | |
| public static List | |
| public static List | |
| public static Element | |
| public static Element |
| DOMUtil | back to summary |
|---|---|
| public DOMUtil() | |
| equals | back to summary |
|---|---|
| private static boolean equals(String a, String b) Used for defensive string comparisons, as many DOM methods often return null depending on how they are created. | |
| fixNull | back to summary |
|---|---|
| private static String fixNull(String s) DOM API returns null for the default namespace whereas it should return "". | |
| getAttribute | back to summary |
|---|---|
| pack-priv static String getAttribute(Element e, String attName) | |
| getAttribute | back to summary |
|---|---|
| public static String getAttribute(Element e, String nsUri, String local) | |
| getChildElements | back to summary |
|---|---|
| public static List | |
| getChildElements | back to summary |
|---|---|
| public static List | |
| getElement | back to summary |
|---|---|
| public static Element getElement(Element e, String nsUri, String localName) | |
| getElement | back to summary |
|---|---|
| public static Element getElement(Element e, String localName) | |