Copy the selected text by pressing ctrl+c

Code example for Node

* @return a new <code>IntegerAttribute</code> representing the appropriate value (null if there
* is a parsing error)
* @throws NumberFormatException if the string form isn't a number
*/
public static IntegerAttribute getInstance(Noderoot) throws NumberFormatException {
return getInstance(root.getFirstChild().getNodeValue());
}
/**
* Returns a new <code>IntegerAttribute</code> that represents the xs:integer value indicated by
* the string provided.
*
* @param value a string representing the desired value
* @return a new <code>IntegerAttribute</code> representing the appropriate value (null if there
* is a parsing error)
* @throws NumberFormatException if the string isn't a number
*/
public static IntegerAttribute getInstance(Stringvalue) throws NumberFormatException {
// Leading '+' is allowed per XML schema and not
// by Long.parseLong. Strip it, if present.