/** * set the token information. * * @param data */ public void setToken(byte[] data) { if (data == null) { throw new IllegalArgumentException("data == null"); } Text node = getFirstNode(); node.setData(Base64.encode(data)); }
/** * set the token information. * * @param data */ public void setToken(byte[] data) { if (data == null) { throw new IllegalArgumentException("data == null"); } Text node = getFirstNode(); node.setData(Base64.encode(data)); }