All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class vnet.markup.MarkupFactory

java.lang.Object
   |
   +----vnet.markup.MarkupFactory

public class MarkupFactory
extends Object
A helper class containing a number of useful static methods.

Note: vnet.markup classes are not thread safe. Locking must be performed by the application.


Constructor Index

 o MarkupFactory()

Method Index

 o getNewAttributeList()
Constructs a new AttributeList object.
 o getNewCData(char[])
Constructs a new CData implementation.
 o getNewCData(char[], int, int)
Constructs a new CData implementation from a subarray of a character array.
 o getNewCData(String)
Constructs a new CData implementation.
 o getNewMarkupNodeList()
Constructs a new MarkupNodeList object.

Constructors

 o MarkupFactory
 public MarkupFactory()

Methods

 o getNewAttributeList
 public static AttributeList getNewAttributeList()
Constructs a new AttributeList object.

Returns:
An object implementing the AttributeList interface.
 o getNewMarkupNodeList
 public static MarkupNodeList getNewMarkupNodeList()
Constructs a new MarkupNodeList object.

Returns:
An object implementing the MarkupNodeList interface.
 o getNewCData
 public static CDataImpl getNewCData(String text)
Constructs a new CData implementation.

Parameters:
text - the String to be used .
 o getNewCData
 public static CDataImpl getNewCData(char text[])
Constructs a new CData implementation.

Parameters:
text - the character array to be used.
 o getNewCData
 public static CDataImpl getNewCData(char text[],
                                     int offset,
                                     int count)
Constructs a new CData implementation from a subarray of a character array.

Parameters:
text - the source character array.
offset - the initial offset
count - the length

All Packages  Class Hierarchy  This Package  Previous  Next  Index