public class FormatPagesForXML extends java.lang.Object implements LayoutFormatter
Constructor and Description |
---|
FormatPagesForXML() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.lang.String field)
Failure Mode:
|
public java.lang.String format(java.lang.String field)
LayoutFormatter
Formatters should be robust in the sense that they always return some relevant string.
If the formatter can detect an invalid input it should return the original string otherwise it may simply return a wrong output.
format
in interface LayoutFormatter
field
- The text to layout.