Package org.exolab.adaptx.xslt
Class Id
- java.lang.Object
-
- org.exolab.adaptx.xslt.XSLObject
-
- org.exolab.adaptx.xslt.EmptyXSLObject
-
- org.exolab.adaptx.xslt.Id
-
public class Id extends EmptyXSLObject
Represents an xsl:id element- Version:
- $Revision: 3633 $ $Date: 2003-03-01 08:38:44 +0100 (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
Constructors Constructor Description Id()
Creates a new Id element
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getElementType()
Returns the element type that this Id is forjava.lang.String
getIdAttribute()
Returns the name of the attribute to use as an element Idvoid
setElementType(java.lang.String elementType)
Sets the element type that this Id Attribute is forvoid
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
-
-
-
-
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 forusing 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
-
-