Here you can find the source of parseString(String xmlAttributeValue, String invalidValue)
public static String parseString(String xmlAttributeValue, String invalidValue)
//package com.java2s; //License from project: Apache License import org.w3c.dom.*; public class Main { public static String parseString(Node xmlAttribute, String invalidValue) { if (xmlAttribute == null) return invalidValue; return xmlAttribute.getNodeValue(); }//from www .j a v a 2 s .co m public static String parseString(String xmlAttributeValue, String invalidValue) { if (xmlAttributeValue == null) return invalidValue; return xmlAttributeValue; } }