public class Component extends Object
Constructor and Description |
---|
Component(ComponentBody procedure,
Visibility visibility,
StylesheetPackage owningPackage,
StylesheetPackage declaringPackage)
Create a component
|
Modifier and Type | Method and Description |
---|---|
List<ComponentBinding> |
getComponentBindings()
Get the component's binding vector; that is the list of external references to other components
|
StylesheetPackage |
getDeclaringPackage()
Get the declaring package of this component
|
Component |
getOriginalComponent()
Get the component from which this one is derived
|
StylesheetPackage |
getOwningPackage()
Get the ownnig package of this component
|
ComponentBody |
getProcedure()
Get the procedure (for example a compiled template, function, or variable) represented
by this component
|
Visibility |
getVisibility()
Get the visibility of the component
|
void |
setComponentBindings(List<ComponentBinding> bindings)
Set the component's binding vector; that is the list of external references to other components
|
void |
setOriginalComponent(Component original)
Set the component from which this one is derived
|
public Component(ComponentBody procedure, Visibility visibility, StylesheetPackage owningPackage, StylesheetPackage declaringPackage)
procedure
- the compiled code that implements the component, for example a Template or Functionvisibility
- the visibility of the componentowningPackage
- the package to which this component belongsdeclaringPackage
- the package in which the original declaration of the component appearspublic List<ComponentBinding> getComponentBindings()
public void setComponentBindings(List<ComponentBinding> bindings)
bindings
- the binding vector, a list of component bindings. These are identified by a binding
slot number held with the individual instruction (such as a call-template instruction or a global
variable reference) that contains the external component reference.public Visibility getVisibility()
public ComponentBody getProcedure()
public StylesheetPackage getDeclaringPackage()
public StylesheetPackage getOwningPackage()
public Component getOriginalComponent()
public void setOriginalComponent(Component original)
original
- the component from which this one is derived. In the case of an overriding component
this will be the component in the used package that is being overridden.Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.