Code example for QName

Methods: getLocalPartgetNamespaceURIgetPrefix

0
		} 
		return singleton;
	} 
 
	public QName append(final QName name, String appendix) {
		return new QName(name.getNamespaceURI(),
				name.getLocalPart() + appendix,
				name.getPrefix());
	} 
	 
	public String tinySemiUnique() {
		UUID uuid = UUID.randomUUID();
		ByteBuffer bytes_8 = ByteBuffer.allocate(8);
		ByteBuffer bytes_4 = ByteBuffer.allocate(4);
		bytes_8.putLong(uuid.getMostSignificantBits() ^ uuid.getLeastSignificantBits());
		bytes_4.putInt(bytes_8.getInt(0) ^ bytes_8.get(4));
		return DatatypeConverter.printBase64Binary(bytes_4.array()).replace("=", "");
	} 
	 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE