org.ditchnet.xml
Class Xhtml

java.lang.Object
  extended byorg.ditchnet.xml.Xhtml
All Implemented Interfaces:
Xml

public class Xhtml
extends java.lang.Object
implements Xml

Some of the JspResponseWriter class' public instance methods write markup (XML, specifically) to the response stream. The Xml interface, it's static inner interfaces Tag and Attr enforce type-safety and decrease the likelyhood of malformed XML (which is not truely XML anyway) being generated by the JspResponseWriter class.

This class is one implementation of the Xml interface that represents a specific XML vocabulary - XHTML 1.0 Transitional.

This class' static inner classes Xhtml.Tag and Xhtml.Attr present an enumerations of elements and attributes included in the XHTML vocabulary.

Author:
Todd Ditchendorf

Nested Class Summary
static class Xhtml.Attr
          This class implements the Type-Safe Enum pattern as outlined by Joshua Bloch in Effective Java.
static class Xhtml.Tag
          This class implements the Type-Safe Enum pattern as outlined by Joshua Bloch in Effective Java.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait