Style Intelligence v12.0

inetsoft.uql
Class XFormatInfo

java.lang.Object
  extended by inetsoft.uql.XFormatInfo
All Implemented Interfaces:
inetsoft.util.XMLSerializable, Serializable, Cloneable

public class XFormatInfo
extends Object
implements inetsoft.util.XMLSerializable, Serializable, Cloneable

XFormatInfo represents a column's format information.

See Also:
Serialized Form

Constructor Summary
XFormatInfo()
          Constructor.
XFormatInfo(String format, String formatSpec)
          Constructor.
 
Method Summary
 Object clone()
          Get a cloned object.
 boolean equals(Object obj)
          Check if equals another object.
 String getFormat()
          Format getter.
 String getFormatSpec()
          FormatSpec getter.
 int hashCode()
          Get hash code.
 boolean isEmpty()
          Check if this format info is empty.
 void parseXML(Element tag)
          Method to parse an xml segment.
 void setFormat(String format)
          Format setter.
 void setFormatSpec(String formatSpec)
          FormatSpec setter.
 String toString()
          Get the string representation.
 void writeXML(PrintWriter writer)
          Write the xml segment to print writer.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

XFormatInfo

public XFormatInfo()
Constructor.


XFormatInfo

public XFormatInfo(String format,
                   String formatSpec)
Constructor.

Method Detail

setFormat

public void setFormat(String format)
Format setter.


getFormat

public String getFormat()
Format getter.


setFormatSpec

public void setFormatSpec(String formatSpec)
FormatSpec setter.


getFormatSpec

public String getFormatSpec()
FormatSpec getter.


parseXML

public void parseXML(Element tag)
              throws Exception
Method to parse an xml segment.

Specified by:
parseXML in interface inetsoft.util.XMLSerializable
Throws:
Exception

writeXML

public void writeXML(PrintWriter writer)
Write the xml segment to print writer.

Specified by:
writeXML in interface inetsoft.util.XMLSerializable
Parameters:
writer - the destination print writer.

equals

public boolean equals(Object obj)
Check if equals another object.

Overrides:
equals in class Object
Parameters:
obj - the specified opject to compare.
Returns:
true if equals, false otherwise.

hashCode

public int hashCode()
Get hash code.

Overrides:
hashCode in class Object
Returns:
hash code.

clone

public Object clone()
Get a cloned object.

Overrides:
clone in class Object
Returns:
the cloned object.

toString

public String toString()
Get the string representation.

Overrides:
toString in class Object
Returns:
the string representation.

isEmpty

public boolean isEmpty()
Check if this format info is empty.

Returns:
true if empty, false otherwise.

Copyright © 1996-2014 InetSoft Technology Corp. All Rights Reserved.