/** * Return the name of the start element * @param startElement * @return */ public static String getStartElementName(StartElement startElement) { return trim(startElement.getName().getLocalPart()); }
/** * Return the name of the end element * @param endElement * @return */ public static String getEndElementName(EndElement endElement) { return trim(endElement.getName().getLocalPart()); }
/** * Return the name of the end element * @param endElement * @return */ public static String getEndElementName(EndElement endElement) { return trim(endElement.getName().getLocalPart()); }
/** * Return the name of the start element * * @param startElement * @return */ public static String getStartElementName(StartElement startElement) { return trim(startElement.getName().getLocalPart()); }
/** * Return the name of the end element * * @param endElement * @return */ public static String getEndElementName(EndElement endElement) { return trim(endElement.getName().getLocalPart()); }
/** * Return the name of the start element * @param startElement * @return */ public static String getStartElementName(StartElement startElement) { return trim(startElement.getName().getLocalPart()); }
/** * Given an {@code Attribute}, get its trimmed value * @param attribute * @return */ public static String getAttributeValue(Attribute attribute) { String str = trim(attribute.getValue()); str = StringUtil.getSystemPropertyAsString(str); return str; }
/** * Given an {@code Attribute}, get its trimmed value * @param attribute * @return */ public static String getAttributeValue(Attribute attribute) { String str = trim(attribute.getValue()); str = StringUtil.getSystemPropertyAsString(str); return str; }
/** * Given an {@code Attribute}, get its trimmed value * * @param attribute * @return */ public static String getAttributeValue(Attribute attribute) { String str = trim(attribute.getValue()); str = StringUtil.getSystemPropertyAsString(str); return str; }