public class ComponentBinding extends Object
Constructor and Description |
---|
ComponentBinding(SymbolicName name)
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.
|
boolean |
isFinal()
Ask whether this binding is final
|
void |
setTarget(Component target,
boolean isFinal)
Set the target of the component binding, for example a template, function, or global variable
|
public ComponentBinding(SymbolicName name)
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.public SymbolicName getSymbolicName()
public void setTarget(Component target, boolean isFinal)
target
- the target of the bindingisFinal
- true if this is a final binding that cannot be changed in a using package. This
will be the case if the visibility of the target component is private or final.public Component getTarget()
public boolean isFinal()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.