org.exolab.adaptx.xslt

Class Id


public class Id
extends EmptyXSLObject

Represents an xsl:id element

Version:
$Revision: 1.1.1.1 $ $Date: 2003/03/01 07:39:46 $

Author:
Keith Visco

Field Summary

Fields inherited from class org.exolab.adaptx.xslt.XSLObject

APPLY_IMPORTS, APPLY_TEMPLATES, ARG, ATTRIBUTE, ATTRIBUTE_SET, CALL_TEMPLATE, CDATA, CHOOSE, COMMENT, CONTENTS, COPY, COPY_OF, ELEMENT, ENTITY_REF, FOR_EACH, FUNCTIONS, ID, IF, IMPORT, INCLUDE, KEY, LITERAL, LOCALE, MESSAGE, NUMBER, OTHERWISE, OUTPUT, PARAM, PI, PRESERVE_SPACE, SCRIPT, SORT, STRIP_SPACE, STYLESHEET, TEMPLATE, TEXT, VALUE_OF, VARIABLE, WHEN, WITH_PARAM

Constructor Summary

Id()
Creates a new Id element

Method Summary

String
getElementType()
Returns the element type that this Id is for
String
getIdAttribute()
Returns the name of the attribute to use as an element Id
void
setElementType(String elementType)
Sets the element type that this Id Attribute is for
void
setIdAttribute(String attributeName)
Sets the name of the attribute to use as an element Id

Methods inherited from class org.exolab.adaptx.xslt.XSLObject

appendAction, appendText, appendText, getActions, getAttribute, getAttributes, getNearestAncestor, getNodeValue, getStylesheet, getText, getType, getTypeFromName, getTypeName, resolveNamespace, setAllowActions, setAttribute, setTypeName

Constructor Details

Id

public Id()
Creates a new Id element

Method Details

getElementType

public String getElementType()
Returns the element type that this Id is for

Returns:
the element type that this Id is for


getIdAttribute

public String getIdAttribute()
Returns the name of the attribute to use as an element Id

Returns:
the name of the attribute to use as an element Id


setElementType

public void setElementType(String elementType)
Sets the element type that this Id Attribute is for

Parameters:
elementType - the element type (gi) that this Id is for
using the wildcard '*' will match all element types


setIdAttribute

public void setIdAttribute(String attributeName)
Sets the name of the attribute to use as an element Id

Parameters:
attributeName - the name of the attribute to use as an Id