org.apache.jetspeed.services
Class Transformer

java.lang.Object
  extended byorg.apache.jetspeed.services.Transformer

public class Transformer
extends java.lang.Object

This is a commodity static accessor class around the TransformerService

Version:
$Id: Transformer.java,v 1.2 2004/02/23 04:00:57 jford Exp $
Author:
Marco Mari
See Also:
TransformerService

Constructor Summary
Transformer()
           
 
Method Summary
static java.lang.String clipElements(java.io.Reader htmlReader, java.lang.String url, java.lang.String startElement, java.lang.String stopElement)
           
static java.lang.String clipElementsNumber(java.io.Reader htmlReader, java.lang.String url, java.lang.String startElement, java.lang.String stopElement, int tagNumber)
           
static java.lang.String findElement(java.io.Reader htmlReader, java.lang.String url, java.lang.String element)
           
static java.lang.String findElementNumber(java.io.Reader htmlReader, java.lang.String url, java.lang.String element, int tagNumber)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Transformer

public Transformer()
Method Detail

findElement

public static java.lang.String findElement(java.io.Reader htmlReader,
                                           java.lang.String url,
                                           java.lang.String element)
See Also:
TransformerService.findElement(java.io.Reader, java.lang.String, java.lang.String)

clipElements

public static java.lang.String clipElements(java.io.Reader htmlReader,
                                            java.lang.String url,
                                            java.lang.String startElement,
                                            java.lang.String stopElement)
See Also:
TransformerService.clipElements(java.io.Reader, java.lang.String, java.lang.String, java.lang.String)

findElementNumber

public static java.lang.String findElementNumber(java.io.Reader htmlReader,
                                                 java.lang.String url,
                                                 java.lang.String element,
                                                 int tagNumber)
See Also:
TransformerService.findElementNumber(java.io.Reader, java.lang.String, java.lang.String, int)

clipElementsNumber

public static java.lang.String clipElementsNumber(java.io.Reader htmlReader,
                                                  java.lang.String url,
                                                  java.lang.String startElement,
                                                  java.lang.String stopElement,
                                                  int tagNumber)
See Also:
TransformerService.clipElementsNumber(java.io.Reader, java.lang.String, java.lang.String, java.lang.String, int)


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.