@Pure
	public static Integer getAttributeIntWithDefault(Node document, boolean caseSensitive, Integer defaultValue, String... path) {
		assert document != null : AssertMessages.notNullParameter(0);
		final String v = getAttributeValue(document, caseSensitive, 0, path);
		if (v != null) {
			try {
				return Integer.parseInt(v);
			} catch (NumberFormatException e) {
				//
			}
		}
		return defaultValue;
	}
@ Pure public static Integer getAttributeIntWithDefault ( Node document , boolean caseSensitive , Integer defaultValue , String ... path ) { assert document != null : AssertMessages . notNullParameter ( 0 ) ; final String v = getAttributeValue ( document , caseSensitive , 0 , path ) ; if ( v != null ) { try { return Integer . parseInt ( v ) ; } catch ( NumberFormatException e ) { } } return defaultValue ; }
Replies the integer value that corresponds to the specified attribute's path.

<p>The path is an ordered list of tag's names and ended by the name of
the attribute.

@param document is the XML document to explore.
@param caseSensitive indicates of the {@code path}'s components are case sensitive.
@param defaultValue is the default value to reply.
@param path is the list of and ended by the attribute's name.
@return the integer value of the specified attribute or <code>null</code> if
it was node found in the document