info.magnolia.content2bean.impl
Class TransformationStateImpl

java.lang.Object
  extended by info.magnolia.content2bean.impl.TransformationStateImpl
All Implemented Interfaces:
TransformationState

Deprecated. since 4.5.18 - use TransformationStateImpl instead.

@Singleton
public class TransformationStateImpl
extends Object
implements TransformationState

Transformation state implementation. Contains stacks of info for the types, beans and the content.


Field Summary
protected  org.apache.commons.collections.ArrayStack beanStack
          Deprecated.  
protected  org.apache.commons.collections.ArrayStack contentStack
          Deprecated.  
protected  org.apache.commons.collections.ArrayStack typeStack
          Deprecated.  
 
Constructor Summary
TransformationStateImpl()
          Deprecated.  
 
Method Summary
 Object getCurrentBean()
          Deprecated.  
 Content getCurrentContent()
          Deprecated.  
 TypeDescriptor getCurrentType()
          Deprecated.  
 int getLevel()
          Deprecated.  
 Object peekBean(int pos)
          Deprecated.  
 Content peekContent(int pos)
          Deprecated.  
 TypeDescriptor peekType(int pos)
          Deprecated.  
 void popBean()
          Deprecated.  
 void popContent()
          Deprecated.  
 void popType()
          Deprecated.  
 void pushBean(Object bean)
          Deprecated.  
 void pushContent(Content node)
          Deprecated.  
 void pushType(TypeDescriptor type)
          Deprecated.  
 void setCurrentBean(Object bean)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

typeStack

protected org.apache.commons.collections.ArrayStack typeStack
Deprecated. 

beanStack

protected org.apache.commons.collections.ArrayStack beanStack
Deprecated. 

contentStack

protected org.apache.commons.collections.ArrayStack contentStack
Deprecated. 
Constructor Detail

TransformationStateImpl

public TransformationStateImpl()
Deprecated. 
Method Detail

getCurrentBean

public Object getCurrentBean()
Deprecated. 
Specified by:
getCurrentBean in interface TransformationState

setCurrentBean

public void setCurrentBean(Object bean)
Deprecated. 
Specified by:
setCurrentBean in interface TransformationState

getCurrentType

public TypeDescriptor getCurrentType()
Deprecated. 
Specified by:
getCurrentType in interface TransformationState

getCurrentContent

public Content getCurrentContent()
Deprecated. 
Specified by:
getCurrentContent in interface TransformationState

peekBean

public Object peekBean(int pos)
Deprecated. 
Specified by:
peekBean in interface TransformationState

peekType

public TypeDescriptor peekType(int pos)
Deprecated. 
Specified by:
peekType in interface TransformationState

peekContent

public Content peekContent(int pos)
Deprecated. 
Specified by:
peekContent in interface TransformationState

popBean

public void popBean()
Deprecated. 
Specified by:
popBean in interface TransformationState

popType

public void popType()
Deprecated. 
Specified by:
popType in interface TransformationState

popContent

public void popContent()
Deprecated. 
Specified by:
popContent in interface TransformationState

pushBean

public void pushBean(Object bean)
Deprecated. 
Specified by:
pushBean in interface TransformationState

pushType

public void pushType(TypeDescriptor type)
Deprecated. 
Specified by:
pushType in interface TransformationState

pushContent

public void pushContent(Content node)
Deprecated. 
Specified by:
pushContent in interface TransformationState

getLevel

public int getLevel()
Deprecated. 
Specified by:
getLevel in interface TransformationState
Returns:
the value of the biggest stack size


Copyright © 2003–2014 Magnolia International Ltd.. All rights reserved.