info.magnolia.content2bean
Interface TransformationState

All Known Implementing Classes:
TransformationStateImpl

Deprecated. since 4.5.18 - use TransformationState instead.

public interface TransformationState

This state contains three stacks. This allows the transformer to know the full state created during the transformation process. A stack for classes, beans, and content nodes are kept.

It is the processors job to populate this state.


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.  
 

Method Detail

pushType

void pushType(TypeDescriptor type)
Deprecated. 

popType

void popType()
Deprecated. 

getCurrentType

TypeDescriptor getCurrentType()
Deprecated. 

peekType

TypeDescriptor peekType(int pos)
Deprecated. 

pushBean

void pushBean(Object bean)
Deprecated. 

popBean

void popBean()
Deprecated. 

getCurrentBean

Object getCurrentBean()
Deprecated. 

setCurrentBean

void setCurrentBean(Object bean)
Deprecated. 

peekBean

Object peekBean(int pos)
Deprecated. 

pushContent

void pushContent(Content node)
Deprecated. 

popContent

void popContent()
Deprecated. 

getCurrentContent

Content getCurrentContent()
Deprecated. 

peekContent

Content peekContent(int pos)
Deprecated. 

getLevel

int getLevel()
Deprecated. 
Returns:
the value of the biggest stack size


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