org.specrunner.util.xom
Interface IPresenter

All Superinterfaces:
IResetable, Serializable

public interface IPresenter
extends IResetable

Create a Node representation of any object.

Author:
Thiago Santos

Method Summary
 nu.xom.Node asNode(Object obj, Object... args)
          Create a node representation of an object.
 String asString(Object obj, Object... args)
          Create a string representation.
 
Methods inherited from interface org.specrunner.util.mapping.IResetable
initialize
 

Method Detail

asNode

nu.xom.Node asNode(Object obj,
                   Object... args)
Create a node representation of an object.

Parameters:
obj - The object source.
args - The conversion arguments.
Returns:
The node representation.

asString

String asString(Object obj,
                Object... args)
Create a string representation.

Parameters:
obj - The object source.
args - The conversion arguments.
Returns:
The node representation.


Copyright © 2014. All rights reserved.