org.custommonkey.xmlunit

Class NodeDescriptor

public class NodeDescriptor extends Object implements XMLConstants

Class for describing Nodes
Field Summary
protected static StringDOCUMENT_NODE_DESCRIPTION
Method Summary
protected static voidappendAttributeDetail(StringBuffer buf, Node aNode)
protected static voidappendCdataSectionDetail(StringBuffer buf, Node aNode)
protected static voidappendCommentDetail(StringBuffer buf, Node aNode)
protected static voidappendDocumentDetail(StringBuffer buf)
protected static voidappendDocumentTypeDetail(StringBuffer buf, Node aNode)
protected static voidappendElementDetail(StringBuffer buf, Node aNode, boolean notRecursing)
static voidappendNodeDetail(StringBuffer buf, NodeDetail nodeDetail)
Convert a Node into a simple String representation and append to StringBuffer
protected static voidappendProcessingInstructionDetail(StringBuffer buf, Node aNode)
protected static voidappendTextDetail(StringBuffer buf, Node aNode)

Field Detail

DOCUMENT_NODE_DESCRIPTION

protected static String DOCUMENT_NODE_DESCRIPTION

Method Detail

appendAttributeDetail

protected static void appendAttributeDetail(StringBuffer buf, Node aNode)

appendCdataSectionDetail

protected static void appendCdataSectionDetail(StringBuffer buf, Node aNode)

appendCommentDetail

protected static void appendCommentDetail(StringBuffer buf, Node aNode)

appendDocumentDetail

protected static void appendDocumentDetail(StringBuffer buf)

appendDocumentTypeDetail

protected static void appendDocumentTypeDetail(StringBuffer buf, Node aNode)

appendElementDetail

protected static void appendElementDetail(StringBuffer buf, Node aNode, boolean notRecursing)

appendNodeDetail

public static void appendNodeDetail(StringBuffer buf, NodeDetail nodeDetail)
Convert a Node into a simple String representation and append to StringBuffer

Parameters: buf aNode

appendProcessingInstructionDetail

protected static void appendProcessingInstructionDetail(StringBuffer buf, Node aNode)

appendTextDetail

protected static void appendTextDetail(StringBuffer buf, Node aNode)