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
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 -
Method Summary
Modifier and TypeMethodDescriptionReturns the element type that this Id is forReturns the name of the attribute to use as an element Idvoid
setElementType
(String elementType) Sets the element type that this Id Attribute is forvoid
setIdAttribute
(String attributeName) Sets the name of the attribute to use as an element IdMethods 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
-
Constructor Details
-
Id
public Id()Creates a new Id element
-
-
Method Details
-
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
Returns the element type that this Id is for- Returns:
- the element type that this Id is for
-
setElementType
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
Sets the name of the attribute to use as an element Id- Parameters:
attributeName
- the name of the attribute to use as an Id
-