org.apache.xalan.processor

Class ProcessorInclude

public class ProcessorInclude extends XSLTElementProcessor

TransformerFactory class for xsl:include markup.

See Also: XSLT DTD include in XSLT Specification

UNKNOWN: internal

Method Summary
StringgetHref()
Get the base identifier with which this stylesheet is associated.
voidsetHref(String baseIdent)
Get the base identifier with which this stylesheet is associated.
voidstartElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)
Receive notification of the start of an xsl:include element.

Method Detail

getHref

public String getHref()
Get the base identifier with which this stylesheet is associated.

Returns: non-null reference to the href attribute string, or null if setHref has not been called.

setHref

public void setHref(String baseIdent)
Get the base identifier with which this stylesheet is associated.

Parameters: baseIdent Should be a non-null reference to a valid URL string.

startElement

public void startElement(StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes)
Receive notification of the start of an xsl:include element.

Parameters: handler The calling StylesheetHandler/TemplatesBuilder. uri The Namespace URI, or the empty string if the element has no Namespace URI or if Namespace processing is not being performed. localName The local name (without prefix), or the empty string if Namespace processing is not being performed. rawName The raw XML 1.0 name (with prefix), or the empty string if raw names are not available. attributes The attributes attached to the element. If there are no attributes, it shall be an empty Attributes object.

Throws: org.xml.sax.SAXException Any SAX exception, possibly wrapping another exception.

Copyright B) 2005 Apache XML Project. All Rights Reserved.