org.exolab.adaptx.xslt

Class Id

public class Id extends EmptyXSLObject

Represents an xsl:id element

Version: $Revision: 3633 $ $Date: 2003-03-01 02:38:44 -0500 (Sat, 01 Mar 2003) $

Author: Keith Visco

Constructor Summary
Id()
Creates a new Id element
Method Summary
StringgetElementType()
Returns the element type that this Id is for
StringgetIdAttribute()
Returns the name of the attribute to use as an element Id
voidsetElementType(String elementType)
Sets the element type that this Id Attribute is for
voidsetIdAttribute(String attributeName)
Sets the name of the attribute to use as an element Id

Constructor Detail

Id

public Id()
Creates a new Id element

Method Detail

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