com.agical.rdoc.core.model.impl
Class XmlCodeFormatter

java.lang.Object
  extended by com.agical.rdoc.core.model.impl.XmlCodeFormatter
All Implemented Interfaces:
CodeFormatter, Serializable

public class XmlCodeFormatter
extends Object
implements CodeFormatter

See Also:
Serialized Form

Constructor Summary
XmlCodeFormatter(TextFormatter docTextFormatter)
           
 
Method Summary
 String charLiteral(String charLiteral)
           
 String formalComment(String formalComment)
           
 String identifier(String identifer)
           
 String newLine()
           
 String number(String number)
           
 String other(String other)
           
 String primitive(String primitive)
           
 String reservedWord(String word)
           
 String singleLineComment(String singleLineComment)
           
 String space()
           
 String stringLiteral(String stringLiteral)
           
 String tab()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlCodeFormatter

public XmlCodeFormatter(TextFormatter docTextFormatter)
Method Detail

number

public String number(String number)
Specified by:
number in interface CodeFormatter

reservedWord

public String reservedWord(String word)
Specified by:
reservedWord in interface CodeFormatter

primitive

public String primitive(String primitive)
Specified by:
primitive in interface CodeFormatter

identifier

public String identifier(String identifer)
Specified by:
identifier in interface CodeFormatter

stringLiteral

public String stringLiteral(String stringLiteral)
Specified by:
stringLiteral in interface CodeFormatter

charLiteral

public String charLiteral(String charLiteral)
Specified by:
charLiteral in interface CodeFormatter

singleLineComment

public String singleLineComment(String singleLineComment)
Specified by:
singleLineComment in interface CodeFormatter

formalComment

public String formalComment(String formalComment)
Specified by:
formalComment in interface CodeFormatter

newLine

public String newLine()
Specified by:
newLine in interface CodeFormatter

space

public String space()
Specified by:
space in interface CodeFormatter

tab

public String tab()
Specified by:
tab in interface CodeFormatter

other

public String other(String other)
Specified by:
other in interface CodeFormatter


Copyright © 2005-2011 Agical AB. All Rights Reserved.