com.icl.saxon
Class EmbeddedStyleSheet

java.lang.Object
  |
  +--com.icl.saxon.EmbeddedStyleSheet

public abstract class EmbeddedStyleSheet
extends java.lang.Object

The EmbeddedStyleSheet class is responsible for building a stylesheet from an xsl:stylesheet element found in the middle of a source document.
It is necessary to copy the subtree to a new tree, because the original document will not have been built using the StyleNodeFactory.


Constructor Summary
EmbeddedStyleSheet()
           
 
Method Summary
static PreparedStyleSheet build(ElementInfo element)
          Given an element node in a tree that represents an embedded stylesheet, create a StyleSheet document and prepare it for use, returning it as a PreparedStyleSheet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmbeddedStyleSheet

public EmbeddedStyleSheet()
Method Detail

build

public static PreparedStyleSheet build(ElementInfo element)
                                throws org.xml.sax.SAXException
Given an element node in a tree that represents an embedded stylesheet, create a StyleSheet document and prepare it for use, returning it as a PreparedStyleSheet.