public class CopyOf extends 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 | Description |
---|---|
CopyOf() |
Creates a new CopyOf object
|
Modifier and Type | Method | Description |
---|---|---|
NodeSet |
selectNodes(ProcessorState ps) |
|
void |
setAttribute(java.lang.String name,
java.lang.String value) |
Sets the attribute with the given name to the given value.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addNamespaceDecl, appendAction, appendText, appendText, getActions, getAttribute, getAttributes, getNamespace, getNearestAncestor, getNodeValue, getStylesheet, getText, getType, getTypeFromName, getTypeName, resolveNamespace, setAllowActions, setNamespace, setTypeName
public NodeSet selectNodes(ProcessorState ps) throws XPathException
XPathException
public void setAttribute(java.lang.String name, java.lang.String value) throws XSLException
setAttribute
in class XSLObject
name
- the name of the attribute to setvalue
- the value to set the attribute toXSLException
- if this XSLObject does not allow attributes
with the given name, or if the attribute is read only