class: XmlTransformingTestBase

public class: XmlTransformingTestBase
Author: Johannes Mueller (initial creation)
Project: Phase: 1.0; Status: Proposed; Version: $Revision: 1951 $ $LastChangedDate: 2009-05-07 10:; Complexity: 1
Dates: Created: 16.07.2009 15:14:59; Modified: 16.07.2009 15:14:59;
Flags: Active: false; IsRoot: false; IsLeaf: false;
Extension Points:
UUID: {140DB4C7-275B-4640-A417-0C79016EC762}
This class enriches the TestBase class with XML-specific methods.
 

Goto: Custom Properties, Fields, Methods

Extends: TestBase

See also: TransformContainerTest, TransformFacesItemTest, TransformInvalidPubItemTest, TransformPubItemTest, TransformPubItemVersionListTest, TransformSearchResultTest, TransformStatisticReportTest, TransformTocTest, TestBase

Appears in: xmltransforming

Connections
 
Custom Properties
 
XmlTransformingTestBase Attributes
Attribute Details
private static boolean
  initialized
Initial: false
Notes: Flag to determine whether this class has been initialized (by the init() method).
private static DocumentBuilderFactory
  m_docBuilderFactory
Initial: null
Notes: The {@link javax.xml.parsers.DocumentBuilderFactory} for this class.
private static XPath
  m_xPath
Initial: null
Notes: The {@link javax.xml.xpath.XPath} for this class.
private static XPathFactory
  m_xPathFactory
Initial: null
Notes: The {@link javax.xml.xpath.XPathFactory} for this class.
private static const String
  XML_CHARSET_ENCODING
Initial: "UTF-8"
Notes: The charset encoding, e.g. for DOM to String conversions.
 
XmlTransformingTestBase Methods
Operation Details
protected static
init():void
Sequential
Tags: throws=ParserConfigurationException
Notes: Initialize the class, i.e. set the member variables so that they can be shared by different methods.
public static
isInitialized():boolean
Sequential
Notes: Delivers the flag to determine whether this class has been initialized yet.
@return true if this class has been initialized yet.
private static
setInitialized(
   boolean initialized):void
Sequential
Notes: Sets the flag to determine whether this class has been initialized yet.
protected static
toString(
   Node xml,
   boolean omitXMLDeclaration):String
Sequential
Tags: throws=Exception
Notes: Serialize the given Dom Object to a String.
@return The String representation of the Xml Node.