public static ContextRegisterInfo fromXml(Element ele) {

		String contextRegister = ele.getAttributeValue("contextRegister");
		String value = ele.getAttributeValue("value");

		ContextRegisterInfo result = new ContextRegisterInfo();
		result.setContextRegister(contextRegister);
		result.setValue(value != null ? new BigInteger(value) : null);

		return result;
	}
Creates a {@link ContextRegisterInfo} object using data in the supplied XML node.

@param ele xml Element
@return new {@link ContextRegisterInfo} object, never null
Ghidra/Features/BytePatterns/src/main/java/ghidra/bitpatterns/info/ContextRegisterInfo.java