tauZaman
v0.1

tauzaman.property
Class Format

java.lang.Object
  |
  +--tauzaman.property.Format

public class Format
extends java.lang.Object

Format class represents a formatting information of an input or output temporal constant.

See Also:
Property, ImportFormat
Status:
design complete, implementation complete

Constructor Summary
Format(org.w3c.dom.Element root)
          Constructs a Format object, from given DOM node parsed from Property Specification file.
 
Method Summary
 java.lang.String getFormatString()
          Returns the formatString of this format
 boolean isFormatWhitespaceFriendly()
          Returns whether this format is whitespace friendly or not
 java.lang.String toString()
          toString method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Format

public Format(org.w3c.dom.Element root)
Constructs a Format object, from given DOM node parsed from Property Specification file.

Parameters:
root - DOM Element
Method Detail

isFormatWhitespaceFriendly

public boolean isFormatWhitespaceFriendly()
Returns whether this format is whitespace friendly or not

Returns:
whitespace friendly attribute of this Format

getFormatString

public java.lang.String getFormatString()
Returns the formatString of this format

Returns:
this Format as a string

toString

public java.lang.String toString()
toString method

Overrides:
toString in class java.lang.Object
Returns:
string representation of this object

tauZaman
v0.1

Submit a bug or feature

tauZaman is an open-source, publicly avaliable project