Here you can find the source of buildBuiltinXMLEntityMap()
private static Map<String, String> buildBuiltinXMLEntityMap()
//package com.java2s; import java.util.HashMap; import java.util.Map; public class Main { private static Map<String, String> buildBuiltinXMLEntityMap() { Map<String, String> entities = new HashMap<String, String>(10); entities.put("lt", "<"); entities.put("gt", ">"); entities.put("amp", "&"); entities.put("apos", "'"); entities.put("quot", "\""); return entities; }/*from w w w . java 2 s.c o m*/ }