jestr.core
Class ChildStringifierBase

java.lang.Object
  extended byjestr.core.StringifierDelegateBase
      extended byjestr.core.ChildStringifierBase
All Implemented Interfaces:
ChildStringifier, java.lang.Cloneable, java.io.Serializable, StringifierDelegate
Direct Known Subclasses:
CollectionSingleLineChildStringifier, CollectionXMLChildStringifier, MultiLineCollectionChildStringifier, NoncollectionMultiLineChildStringifier, NoncollectionSingleLineChildStringifier, NoncollectionXMLChildStringifier, NullChildStringifier

public abstract class ChildStringifierBase
extends StringifierDelegateBase
implements ChildStringifier

See Also:
Serialized Form

Constructor Summary
ChildStringifierBase()
           
 
Method Summary
 java.lang.Object clone()
           
protected  int getChildCount()
           
 int getChildIndex()
           
 java.lang.Object getChildKey()
           
 java.lang.Class getChildType()
           
 java.lang.Object getChildValue()
           
abstract  void printChild()
           
 void setChildIndex(int i)
           
 void setChildKey(java.lang.Object key)
           
 void setChildType(java.lang.Class value)
           
 void setChildValue(java.lang.Object value)
           
 boolean treatChildKeysAsObjects()
           
 
Methods inherited from class jestr.core.StringifierDelegateBase
cloneMe, getChildEnumerator, getChildStringifier, getManager, getObject, getOut, getOwner, getRecursiveId, setOwner, setRecursiveId, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jestr.StringifierDelegate
cloneMe, getOwner, getRecursiveId, setOwner, setRecursiveId
 

Constructor Detail

ChildStringifierBase

public ChildStringifierBase()
Method Detail

treatChildKeysAsObjects

public boolean treatChildKeysAsObjects()
Specified by:
treatChildKeysAsObjects in interface ChildStringifier

setChildKey

public void setChildKey(java.lang.Object key)
Specified by:
setChildKey in interface ChildStringifier

setChildValue

public void setChildValue(java.lang.Object value)
Specified by:
setChildValue in interface ChildStringifier

getChildKey

public java.lang.Object getChildKey()
Specified by:
getChildKey in interface ChildStringifier

getChildValue

public java.lang.Object getChildValue()
Specified by:
getChildValue in interface ChildStringifier

setChildIndex

public void setChildIndex(int i)
Specified by:
setChildIndex in interface ChildStringifier

getChildIndex

public int getChildIndex()
Specified by:
getChildIndex in interface ChildStringifier

clone

public java.lang.Object clone()
Specified by:
clone in interface StringifierDelegate
Overrides:
clone in class StringifierDelegateBase

setChildType

public void setChildType(java.lang.Class value)
Specified by:
setChildType in interface ChildStringifier

getChildType

public java.lang.Class getChildType()
Specified by:
getChildType in interface ChildStringifier

getChildCount

protected int getChildCount()

printChild

public abstract void printChild()
Specified by:
printChild in interface ChildStringifier


Copyright (c) 2001-2003 - Apache Software Foundation