com.triadsoft.common.properties
Class PropertyEntry
java.lang.Object
com.triadsoft.common.properties.PropertyElement
com.triadsoft.common.properties.PropertyEntry
public class PropertyEntry
- extends PropertyElement
- Author:
- Triad (flores.leonardo@triadsoft.com.ar)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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)
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()