public class XmlCodeFormatter extends Object implements CodeFormatter
Constructor and Description |
---|
XmlCodeFormatter(TextFormatter docTextFormatter) |
Modifier and Type | Method and Description |
---|---|
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() |
public XmlCodeFormatter(TextFormatter docTextFormatter)
public String number(String number)
number
in interface CodeFormatter
public String reservedWord(String word)
reservedWord
in interface CodeFormatter
public String primitive(String primitive)
primitive
in interface CodeFormatter
public String identifier(String identifer)
identifier
in interface CodeFormatter
public String stringLiteral(String stringLiteral)
stringLiteral
in interface CodeFormatter
public String charLiteral(String charLiteral)
charLiteral
in interface CodeFormatter
public String singleLineComment(String singleLineComment)
singleLineComment
in interface CodeFormatter
public String formalComment(String formalComment)
formalComment
in interface CodeFormatter
public String newLine()
newLine
in interface CodeFormatter
public String space()
space
in interface CodeFormatter
public String tab()
tab
in interface CodeFormatter
public String other(String other)
other
in interface CodeFormatter
Copyright © 2005-2013 Agical AB. All Rights Reserved.