Top Description Fields Constructors Methods
com.sun.codemodel.util

public Class Util

extends Object
Class Inheritance
Imports
java.util.AbstractMap, .ArrayList, .List

This class aims to provide some util methods used in codemodel and dependencies project.

For now, it allows user to escape some dangerous characters for javadoc generation processing

Field Summary

Modifier and TypeField and Description
private static final List<AbstractMap.SimpleImmutableEntry<String, String>>

Constructor Summary

AccessConstructor and Description
private
Util()

Method Summary

Modifier and TypeMethod and Description
public static String
escapeXML(String s)

Escapes the XML tags for Javadoc compatibility

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

ESCAPED_XML_JAVADOCback to summary
private static final List<AbstractMap.SimpleImmutableEntry<String, String>> ESCAPED_XML_JAVADOC

Constructor Detail

Utilback to summary
private Util()

Method Detail

escapeXMLback to summary
public static String escapeXML(String s)

Escapes the XML tags for Javadoc compatibility