org.exolab.adaptx.xslt
Class Id

java.lang.Object
  extended by org.exolab.adaptx.xslt.XSLObject
      extended by org.exolab.adaptx.xslt.EmptyXSLObject
          extended by org.exolab.adaptx.xslt.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

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
 java.lang.String getElementType()
          Returns the element type that this Id is for
 java.lang.String getIdAttribute()
          Returns the name of the attribute to use as an element Id
 void setElementType(java.lang.String elementType)
          Sets the element type that this Id Attribute is for
 void setIdAttribute(java.lang.String attributeName)
          Sets the name of the attribute to use as an element Id
 
Methods inherited from class org.exolab.adaptx.xslt.XSLObject
addNamespaceDecl, appendAction, appendText, appendText, getActions, getAttribute, getAttributes, getNamespace, getNearestAncestor, getNodeValue, getStylesheet, getText, getType, getTypeFromName, getTypeName, resolveNamespace, setAllowActions, setAttribute, setNamespace, setTypeName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Id

public Id()
Creates a new Id element

Method Detail

getIdAttribute

public java.lang.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

getElementType

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

Returns:
the element type that this Id is for

setElementType

public void setElementType(java.lang.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(java.lang.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