com.triadsoft.common.properties
Class PropertyEntry

java.lang.Object
  extended by com.triadsoft.common.properties.PropertyElement
      extended by com.triadsoft.common.properties.PropertyEntry

public class PropertyEntry
extends PropertyElement

Author:
Triad (flores.leonardo@triadsoft.com.ar)

Field Summary
 
Fields inherited from class com.triadsoft.common.properties.PropertyElement
NO_CHILDREN
 
Constructor Summary
PropertyEntry(PropertyCategory parent, java.lang.String key, java.lang.String value)
          Crea la propiedad sin el control de la linea
PropertyEntry(PropertyCategory parent, java.lang.String key, java.lang.String value, int start, int end, int lineNumber)
           
 
Method Summary
 void appendText(java.io.PrintWriter writer)
           
 PropertyElement[] getChildren()
           
 int getEnd()
           
 java.lang.String getKey()
           
 int getLine()
           
 int getStart()
           
 java.lang.String getValue()
           
 boolean hasChildren()
           
 void removeFromParent()
           
 void setEnd(int end)
           
 void setKey(java.lang.String text)
           
 void setStart(int start)
           
 void setValue(java.lang.String text)
           
 java.lang.String toString()
           
 
Methods inherited from class com.triadsoft.common.properties.PropertyElement
getParent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyEntry

public PropertyEntry(PropertyCategory parent,
                     java.lang.String key,
                     java.lang.String value)
Crea la propiedad sin el control de la linea

Parameters:
parent -
key -
value -

PropertyEntry

public PropertyEntry(PropertyCategory parent,
                     java.lang.String key,
                     java.lang.String value,
                     int start,
                     int end,
                     int lineNumber)
Method Detail

getKey

public java.lang.String getKey()

getValue

public java.lang.String getValue()

getChildren

public PropertyElement[] getChildren()
Specified by:
getChildren in class PropertyElement

setKey

public void setKey(java.lang.String text)

setValue

public void setValue(java.lang.String text)

removeFromParent

public void removeFromParent()
Specified by:
removeFromParent in class PropertyElement

getEnd

public int getEnd()

setEnd

public void setEnd(int end)

getStart

public int getStart()

setStart

public void setStart(int start)

hasChildren

public boolean hasChildren()
Specified by:
hasChildren in class PropertyElement
See Also:
PropertyElement.hasChildren()

appendText

public void appendText(java.io.PrintWriter writer)

getLine

public int getLine()
Specified by:
getLine in class PropertyElement

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
See Also:
Object.toString()