public class Id extends EmptyXSLObject
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 and Description |
---|
Id()
Creates a new Id element
|
Modifier and Type | Method and Description |
---|---|
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
|
addNamespaceDecl, appendAction, appendText, appendText, getActions, getAttribute, getAttributes, getNamespace, getNearestAncestor, getNodeValue, getStylesheet, getText, getType, getTypeFromName, getTypeName, resolveNamespace, setAllowActions, setAttribute, setNamespace, setTypeName
public java.lang.String getIdAttribute()
public java.lang.String getElementType()
public void setElementType(java.lang.String elementType)
elementType
- the element type (gi) that this Id is for
using the wildcard '*' will match all element types
public void setIdAttribute(java.lang.String attributeName)
attributeName
- the name of the attribute to use as an Id