|
Scala
1.3.0.3 |
|||
width -
the width to fit the output into
| Method Summary | |
protected
|
def breakable(n: Node): Boolean
|
protected
|
var cur: Int
|
protected
|
def cut(s: String, ind: Int): List[Item]
|
protected
|
def endTag(n: Node): String
|
def format(n: Node, pmap: Map[String,String], sb: StringBuffer): Unit
appends a formatted string containing well-formed XML with given namespace to prefix mapping to the given stringbuffer |
|
def format(n: Node): String
returns a formatted string containing well-formed XML with default namespace prefix mapping |
|
def format(n: Node, pmap: Map[String,String]): String
returns a formatted string containing well-formed XML with given namespace to prefix mapping |
|
def format(nodes: Seq[Node]): String
|
|
def format(nodes: Seq[Node], pmap: Map[String,String]): String
returns a formatted string containing well-formed XML |
|
def format(nodes: Seq[Node], pmap: Map[String,String], sb: StringBuffer): Unit
appends a formatted string containing well-formed XML with the given namespace to prefix mapping to the given stringbuffer |
|
protected
|
var items: List[Item]
|
protected
|
def leafTag(n: Node): String
|
protected
|
def makeBox(ind: Int, s: String): Unit
try to make indented box, if possible, else para |
protected
|
def makeBreak(): Unit
|
protected
|
def makePara(ind: Int, s: String): Unit
|
protected
|
var pmap: Map[String,String]
|
protected
|
def reset(): Unit
|
protected
|
def rootStartTag(n: Node): String
|
protected
|
def startTag(n: Node): String
|
protected
|
def traverse(node: Node, ind: Int): Unit
|
protected
|
def traverse(it: Iterator[Node], ind: Int): Unit
|
protected
|
def traverse1(node: Node, ind: Int): Unit
|
| Methods inherited from java/lang/Object-class |
| clone, eq, equals, finalize, getClass, hashCode, notify, notifyAll, synchronized, toString, wait, wait, wait |
| Methods inherited from scala/Any-class |
| !=, ==, asInstanceOf, isInstanceOf, match |
| Object Summary | |
case
|
object Break
|
| Class Summary | |
case
|
class Box(col: Int, s: String)
|
class BrokenException()
|
|
class Item()
|
|
case
|
class Para(s: String)
|
| Method Detail |
protected var items: List[Item]
protected var cur: Int
protected var pmap: Map[String,String]
protected def reset(): Unit
protected def cut(s: String, ind: Int): List[Item]
protected def makeBox(ind: Int, s: String): Unit
protected def makePara(ind: Int, s: String): Unit
protected def makeBreak(): Unit
protected def leafTag(n: Node): String
protected def rootStartTag(n: Node): String
protected def startTag(n: Node): String
protected def endTag(n: Node): String
def format(n: Node, pmap: Map[String,String], sb: StringBuffer): Unit
n -
the node to be serialized
pmap -
the namespace to prefix mapping
sb -
the stringbuffer to append to
def format(n: Node): String
n -
the node to be serialized
def format(n: Node, pmap: Map[String,String]): String
n -
the node to be serialized
pmap -
the namespace to prefix mapping
def format(nodes: Seq[Node]): String
def format(nodes: Seq[Node], pmap: Map[String,String]): String
nodes -
the sequence of nodes to be serialized
pmap -
the namespace to prefix mapping
def format(nodes: Seq[Node], pmap: Map[String,String], sb: StringBuffer): Unit
n -
the node to be serialized
pmap -
the namespace to prefix mapping
sb -
the string buffer to which to append to
protected def breakable(n: Node): Boolean
protected def traverse(node: Node, ind: Int): Unit
tail: -
what we'd like to sqeeze in
protected def traverse(it: Iterator[Node], ind: Int): Unit
protected def traverse1(node: Node, ind: Int): Unit
tail: -
what we'd like to sqeeze in
|
Scala
1.3.0.3 |
|||