Rajesh,
Welcome to JavaRanch!
When I need a Node, I create a tiny XML
string in memory and use a parser to get the Node object. Especially if I need it to be a fully functioning Node like yours.
An alternative is to create a mock object since Node is an interface. But that is more useful if only one or two methods will be called.