Searched refs:xmlAttributeEscaper (Results 1 – 2 of 2) sorted by relevance
45 CharEscaper xmlAttributeEscaper = (CharEscaper) XmlEscapers.xmlAttributeEscaper(); in testXmlAttributeEscaper() local46 assertBasicXmlEscaper(xmlAttributeEscaper, true, true); in testXmlAttributeEscaper()48 assertEquals(""test"", xmlAttributeEscaper.escape("\"test\"")); in testXmlAttributeEscaper()49 assertEquals("'test'", xmlAttributeEscaper.escape("\'test'")); in testXmlAttributeEscaper()52 xmlAttributeEscaper.escape("a\"b<c>d&e\"f'")); in testXmlAttributeEscaper()54 assertEquals("a	b
c
d", xmlAttributeEscaper.escape("a\tb\nc\rd")); in testXmlAttributeEscaper()
112 public static Escaper xmlAttributeEscaper() { in xmlAttributeEscaper() method in XmlEscapers