org.specrunner.util.xom
Interface IPresentation

All Known Subinterfaces:
IPresentationGroup, IResource, IResourceElement, IResourcePositional, IResult, IResultSet
All Known Implementing Classes:
AbstractResource, AbstractResourceElement, AbstractResourceElementAtt, AbstractResourceHeader, AbstractResourcePositional, AbstractType, ActionType, AlignmentException, Assertion, Command, Control, CSSResource, DefaultAlignmentException, Detail, Failure, Ignored, ImageResource, Info, JavaScriptResource, JSResource, PresentationCompare, PresentationException, PresentationGroupImpl, ResultImpl, ResultSetImpl, Status, StylesheetResource, Success, Undefined, Warning

public interface IPresentation

Anything that has a Node representation can implement this interface, specially Exception, whose presentation is replaced automatically by a call to asNode().

Author:
Thiago Santos

Method Summary
 nu.xom.Node asNode()
          The object representation as node.
 String asString()
          The object representation as string.
 

Method Detail

asString

String asString()
The object representation as string.

Returns:
String representation.

asNode

nu.xom.Node asNode()
The object representation as node.

Returns:
Node representation.


Copyright © 2014. All rights reserved.