public interface StylesheetComponent
Modifier and Type | Method and Description |
---|---|
void |
checkCompatibility(Component component)
Check the compatibility of this component with another component that it is overriding
|
void |
generateByteCode(Optimizer opt)
Generate byte code if appropriate
|
Actor |
getActor()
Get the corresponding Actor object that results from the compilation of this
StylesheetComponent
|
SlotManager |
getSlotManager()
Get the SlotManager associated with this stylesheet construct.
|
SymbolicName |
getSymbolicName()
Get the symbolic name of the component, that is, the combination of the component kind and
the qualified name
|
void |
optimize(ComponentDeclaration declaration)
Optimize the stylesheet construct
|
SlotManager getSlotManager()
void optimize(ComponentDeclaration declaration) throws XPathException
declaration
- the combination of the source XSLT element defining the component, and the
module in which it appearsXPathException
void generateByteCode(Optimizer opt) throws XPathException
opt
- the optimizerXPathException
- if bytecode generation failsActor getActor() throws XPathException
XPathException
- if generating the ComponentBody failsjava.lang.UnsupportedOperationException
- for second-class components such as keys that support outwards references
but not inwards referencesSymbolicName getSymbolicName()
void checkCompatibility(Component component) throws XPathException
component
- the overridden componentXPathException
- if the components are not compatible (differing signatures)Copyright (c) 2004-2020 Saxonica Limited. All rights reserved.