public class ComponentBinding
extends java.lang.Object
The ComponentBinding class is immutable.
Constructor and Description |
---|
ComponentBinding(SymbolicName name,
Component target)
Create a ComponentBinding
|
Modifier and Type | Method and Description |
---|---|
SymbolicName |
getSymbolicName()
Get the symbolic name of the component binding
|
Component |
getTarget()
Get the target of the component binding, for example a template, function, or global variable.
|
public ComponentBinding(SymbolicName name, Component target)
name
- the symbolic name of the component that is the target of this binding. This includes
the component kind (e.g. function, template, variable), its name, and in the case of functions, its
arity.target
- the target of the bindingpublic SymbolicName getSymbolicName()
public Component getTarget()
Copyright (c) 2004-2018 Saxonica Limited. All rights reserved.