info.magnolia.content2bean.impl
Class TransformationStateImpl
java.lang.Object
info.magnolia.content2bean.impl.TransformationStateImpl
- All Implemented Interfaces:
- TransformationState
public class TransformationStateImpl
- extends java.lang.Object
- implements TransformationState
Field Summary |
protected org.apache.commons.collections.ArrayStack |
beanStack
|
protected org.apache.commons.collections.ArrayStack |
contentStack
|
protected org.apache.commons.collections.ArrayStack |
typeStack
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
typeStack
protected org.apache.commons.collections.ArrayStack typeStack
beanStack
protected org.apache.commons.collections.ArrayStack beanStack
contentStack
protected org.apache.commons.collections.ArrayStack contentStack
TransformationStateImpl
public TransformationStateImpl()
getCurrentBean
public java.lang.Object getCurrentBean()
- Specified by:
getCurrentBean
in interface TransformationState
getCurrentType
public TypeDescriptor getCurrentType()
- Specified by:
getCurrentType
in interface TransformationState
getCurrentContent
public Content getCurrentContent()
- Specified by:
getCurrentContent
in interface TransformationState
peekBean
public java.lang.Object peekBean(int pos)
- Specified by:
peekBean
in interface TransformationState
peekType
public TypeDescriptor peekType(int pos)
- Specified by:
peekType
in interface TransformationState
peekContent
public Content peekContent(int pos)
- Specified by:
peekContent
in interface TransformationState
popBean
public void popBean()
- Specified by:
popBean
in interface TransformationState
popType
public void popType()
- Specified by:
popType
in interface TransformationState
popContent
public void popContent()
- Specified by:
popContent
in interface TransformationState
pushBean
public void pushBean(java.lang.Object bean)
- Specified by:
pushBean
in interface TransformationState
pushType
public void pushType(TypeDescriptor type)
- Specified by:
pushType
in interface TransformationState
pushContent
public void pushContent(Content node)
- Specified by:
pushContent
in interface TransformationState
getLevel
public int getLevel()
- Description copied from interface:
TransformationState
- Is the value of the biggest stack size
- Specified by:
getLevel
in interface TransformationState
Copyright © 2003-2010 Magnolia International Ltd.. All Rights Reserved.