tauZaman
v0.1

tauzaman.property
Class ImportFormat

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

public class ImportFormat
extends java.lang.Object

ImportFormat class represents a import format information that is used to parse a value which was parsed using other property. (indirection) Some properties make usage of other properties (for example; now relative instant input format using instant input format) by importing them inside their values.

See Also:
Property
Status:
design complete, implementation complete

Constructor Summary
ImportFormat(org.w3c.dom.Element root, java.net.URL url)
          Constructs a Format object, from given DOM node parsed from Property Specification file.
 
Method Summary
 java.lang.String getFormatName()
          Returns the name of the field value
 java.net.URL getFormatPropertyUrl()
          Returns the url of property
 java.lang.String getVariableName()
          Returns the name of the variable
 java.lang.String toString()
          toString method
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImportFormat

public ImportFormat(org.w3c.dom.Element root,
                    java.net.URL url)
             throws PropertyFormationException
Constructs a Format object, from given DOM node parsed from Property Specification file.

Parameters:
root - DOM Element
url - URL of Property Specification file this ImportFormat is gotten
Throws:
PropertyFormationException - if any problem occurs when parsing the property specification file
Method Detail

getVariableName

public java.lang.String getVariableName()
Returns the name of the variable

Returns:
name of the variable in property format

getFormatName

public java.lang.String getFormatName()
Returns the name of the field value

Returns:
name of the field name in property format

getFormatPropertyUrl

public java.net.URL getFormatPropertyUrl()
Returns the url of property

Returns:
url of the property format

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