org.apache.xalan.processor

Class XSLTElementDef

Known Direct Subclasses:
XSLTSchema

public class XSLTElementDef
extends java.lang.Object

This class defines the allowed structure for an element in a XSLT stylesheet, is meant to reflect the structure defined in http://www.w3.org/TR/xslt#dtd, and the mapping between Xalan classes and the markup elements in the XSLT instance. This actually represents both text nodes and elements.

Method Summary

XSLTElementProcessor
getElementProcessor()
Return the XSLTElementProcessor for this element.
XSLTElementDef[]
getElements()
Get the allowed elements for this type.
void
setElementProcessor(XSLTElementProcessor handler)
Set the XSLTElementProcessor for this element.

Method Details

getElementProcessor

public XSLTElementProcessor getElementProcessor()
Return the XSLTElementProcessor for this element.
Returns:
The element processor for this element.

getElements

public XSLTElementDef[] getElements()
Get the allowed elements for this type.
Returns:
An array of allowed child element defs, or null.

setElementProcessor

public void setElementProcessor(XSLTElementProcessor handler)
Set the XSLTElementProcessor for this element.
Parameters:
handler - The element processor for this element.

Copyright © 2006 Apache XML Project. All Rights Reserved.