org.apache.ecs.wml
Class WMLOutRenderer

java.lang.Object
  extended byorg.apache.ecs.wml.WMLOutRenderer

public class WMLOutRenderer
extends java.lang.Object

The class WMLOutRenderer contains static methods that takes unstructured strings of WML code and returns structured strings of WML code.

Author:
Written by Anders.Samuelson, Modifications by Örjan Petersson

Field Summary
private static java.lang.String className
          The name of this class.
private static char EXCLAMATION_MARK
           
private static char GREATER_THEN
           
private static java.lang.String[] indentArray
           
private static char LESS_THEN
           
private static int MAX_INDENT_LEVEL
           
private static char QUESTION_MARK
           
private static char SLASH
           
 
Constructor Summary
WMLOutRenderer()
           
 
Method Summary
static java.lang.String parse(java.lang.String inString)
          Adds structure to a 'raw' WML string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

private static final java.lang.String className
The name of this class.

See Also:
Constant Field Values

indentArray

private static final java.lang.String[] indentArray

EXCLAMATION_MARK

private static final char EXCLAMATION_MARK
See Also:
Constant Field Values

LESS_THEN

private static final char LESS_THEN
See Also:
Constant Field Values

GREATER_THEN

private static final char GREATER_THEN
See Also:
Constant Field Values

SLASH

private static final char SLASH
See Also:
Constant Field Values

QUESTION_MARK

private static final char QUESTION_MARK
See Also:
Constant Field Values

MAX_INDENT_LEVEL

private static final int MAX_INDENT_LEVEL
Constructor Detail

WMLOutRenderer

public WMLOutRenderer()
Method Detail

parse

public static java.lang.String parse(java.lang.String inString)
Adds structure to a 'raw' WML string.

Parameters:
inString - unstructured WML string.
Returns:
structured WML string


Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.