org.apache.xalan.xsltc.compiler
Class Whitespace.WhitespaceRule

java.lang.Object
  extended by org.apache.xalan.xsltc.compiler.Whitespace.WhitespaceRule
Enclosing class:
Whitespace

private static final class Whitespace.WhitespaceRule
extends java.lang.Object

Auxillary class for encapsulating a single strip/preserve rule


Field Summary
private  int _action
           
private  java.lang.String _element
           
private  java.lang.String _namespace
           
private  int _priority
           
private  int _type
           
 
Constructor Summary
Whitespace.WhitespaceRule(int action, java.lang.String element, int precedence)
          Strip/preserve rule constructor
 
Method Summary
 int compareTo(Whitespace.WhitespaceRule other)
          For sorting rules depending on priority
 int getAction()
           
 java.lang.String getElement()
           
 java.lang.String getNamespace()
           
 int getPriority()
           
 int getStrength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_action

private final int _action

_namespace

private java.lang.String _namespace

_element

private java.lang.String _element

_type

private int _type

_priority

private int _priority
Constructor Detail

Whitespace.WhitespaceRule

public Whitespace.WhitespaceRule(int action,
                                 java.lang.String element,
                                 int precedence)
Strip/preserve rule constructor

Method Detail

compareTo

public int compareTo(Whitespace.WhitespaceRule other)
For sorting rules depending on priority


getAction

public int getAction()

getStrength

public int getStrength()

getPriority

public int getPriority()

getElement

public java.lang.String getElement()

getNamespace

public java.lang.String getNamespace()