public class ComponentDeclaration extends Object
Constructor and Description |
---|
ComponentDeclaration(StylesheetModule module,
StyleElement source)
Create a ComponentDeclaration as the combination of a stylesheet module and a declaration
within that module
|
Modifier and Type | Method and Description |
---|---|
StylesheetModule |
getModule()
Get the module in which this ComponentDeclaration appears
|
int |
getPrecedence()
Get the import precedence of the declaration, which is the same as the import
precedence of the module in which it appears
|
StyleElement |
getSourceElement()
Get the source declaration of this component
|
public ComponentDeclaration(StylesheetModule module, StyleElement source)
module
- the stylesheet modulesource
- the source declaration within that modulepublic StylesheetModule getModule()
public StyleElement getSourceElement()
public int getPrecedence()
Copyright (c) 2004-2014 Saxonica Limited. All rights reserved.