jp.ne.cappuccino.keisuken.servlet.flavor

object HTMLUtils

[source: jp/ne/cappuccino/keisuken/servlet/flavor/HTMLUtils.scala]

object HTMLUtils
extends AnyRef
HTML utilities.
Author
NISHIMOTO Keisuje.
Version
0.2.8, 2008/09/22, 2008/10/14.
Value Summary
val HTML_4_01_STRICT : HTMLType
val HTML_4_01_TRANSITIONAL : HTMLType
val HTML_I_MODE : HTMLType
End omission elements.
val XHTML_1_0_STRICT : HTMLType
val XHTML_1_0_TRANSITIONAL : HTMLType
val XML_1_0 : HTMLType
Method Summary
def printHTML (typ : HTMLType, node : scala.xml.Node, response : Response) : java.io.Writer
Print HTML.
def printHTML (typ : HTMLType, node : scala.xml.Node, out : java.io.Writer, encoding : java.lang.String) : java.io.Writer
Print HTML.
def printHTMLElem (typ : HTMLType, node : scala.xml.Node, out : java.io.Writer) : java.io.Writer
Print HTML.
def printHTMLElems (isXML : Boolean, emptyElems : scala.collection.immutable.Set[java.lang.String], endOmissionElems : scala.collection.immutable.Set[java.lang.String], node : scala.xml.Node, out : java.io.Writer) : java.io.Writer
Print HTML.
Methods inherited from AnyRef
getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize, ==, !=, eq, ne, synchronized
Methods inherited from Any
==, !=, isInstanceOf, asInstanceOf
Class Summary
class HTMLType (val xml : Boolean, val doctype : java.lang.String, val emptyElems : scala.collection.immutable.Set[java.lang.String], val endOmissionElems : scala.collection.immutable.Set[java.lang.String]) extends AnyRef
HTML type.
Value Details
val HTML_I_MODE : HTMLType
End omission elements.

val HTML_4_01_STRICT : HTMLType

val HTML_4_01_TRANSITIONAL : HTMLType

val XHTML_1_0_STRICT : HTMLType

val XHTML_1_0_TRANSITIONAL : HTMLType

val XML_1_0 : HTMLType

Method Details
@scala.throws(classOf[java.io.IOException])

def printHTML(typ : HTMLType, node : scala.xml.Node, response : Response) : java.io.Writer
Print HTML.
Parameters
typ - HTML type.
node - XML node.
response - Response.
Throws
IOException - IO error.

@scala.throws(classOf[java.io.IOException])

def printHTML(typ : HTMLType, node : scala.xml.Node, out : java.io.Writer, encoding : java.lang.String) : java.io.Writer
Print HTML.
Parameters
typ - HTML type.
node - XML node.
encoding - output encoding.
Throws
IOException - IO error.

@scala.throws(classOf[java.io.IOException])

def printHTMLElem(typ : HTMLType, node : scala.xml.Node, out : java.io.Writer) : java.io.Writer
Print HTML.
Parameters
typ - HTML type.
node - XML node.
out - output writer.
Throws
IOException - IO error.

@scala.throws(classOf[java.io.IOException])

def printHTMLElems(isXML : Boolean, emptyElems : scala.collection.immutable.Set[java.lang.String], endOmissionElems : scala.collection.immutable.Set[java.lang.String], node : scala.xml.Node, out : java.io.Writer) : java.io.Writer
Print HTML.
Parameters
isXML - XML content?
emptyElems - empty elements.
endOmissionElems - end omission elements.
node - XML node.
out - output writer.
Throws
IOException - IO error.