Class Declaration

  extended by

public class Declaration
extends Object

The object represents a declaration (that is, a top-level element) in a stylesheet. A declaration exists within a stylesheet module and takes its import precedence from that of the module. The declaration corresponds to a source element in a stylesheet document. However, if a stylesheet module is imported twice with different precedences, then two declarations may share the same source element.

Constructor Summary
Declaration(StylesheetModule module, StyleElement source)
Method Summary
 StylesheetModule getModule()
 int getPrecedence()
 StyleElement getSourceElement()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public Declaration(StylesheetModule module,
                   StyleElement source)
Method Detail


public StylesheetModule getModule()


public StyleElement getSourceElement()


public int getPrecedence()

Copyright (c) 2004-2010 Saxonica Limited. All rights reserved.