|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.xsl.process.Mode
Immutable processing modes. Modes with the same name are represented by a
single shared Mode object, so modes can be compared with
== instead of the equals method. In addition, each
mode has a unique identifying integer, assigned consecutively starting with
zero, to facilitate efficient indexing at runtime.
| Field Summary | |
static Mode |
ANY_MODE
A special mode that matches any mode; used by the built-in template rules. |
static Mode |
DEFAULT_MODE
A special mode representing the unnamed default mode. |
| Method Summary | |
static Mode |
create(ExpandedQName modeName)
Creates a Mode with the specified mode name. |
ExpandedQName |
getName()
Returns this mode's name. |
int |
getNumber()
Returns this mode's unique identifying integer. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final Mode DEFAULT_MODE
public static final Mode ANY_MODE
| Method Detail |
public static Mode create(ExpandedQName modeName)
Mode with the specified mode name. Modes with the
same name are represented by a single shared Mode object,
so modes can be compared with == instead of the
equals method.
modeName - the mode's expanded name
Mode object for the specified mode name
IllegalArgumentException - if modeName is not a legal XML 1.0 namepublic ExpandedQName getName()
public int getNumber()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||