Package net.sf.saxon.expr.instruct
Class Copy.CopyElementDetails
java.lang.Object
net.sf.saxon.expr.instruct.ElementCreator.ElementCreationDetails
net.sf.saxon.expr.instruct.Copy.CopyElementDetails
- Enclosing class:
Copy
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNodeName
(XPathContext context) Get the name of the element node to be constructedgetSystemId
(XPathContext context) Get the base URI to be assigned to the new element nodevoid
processContent
(Outputter out, XPathContext context) Callback to process the content expression, generating attributes, children and descendants (but not namespaces) of the new element node
-
Constructor Details
-
CopyElementDetails
-
-
Method Details
-
getCopiedNode
-
getNodeName
Description copied from class:ElementCreator.ElementCreationDetails
Get the name of the element node to be constructed- Specified by:
getNodeName
in classElementCreator.ElementCreationDetails
- Parameters:
context
- evaluation context- Returns:
- the element name
- Throws:
XPathException
- if computation of the element name fails
-
getSystemId
Description copied from class:ElementCreator.ElementCreationDetails
Get the base URI to be assigned to the new element node- Specified by:
getSystemId
in classElementCreator.ElementCreationDetails
- Parameters:
context
- evaluation context- Returns:
- the base URI
- Throws:
XPathException
- if computation of the base URI fails
-
processContent
Description copied from class:ElementCreator.ElementCreationDetails
Callback to process the content expression, generating attributes, children and descendants (but not namespaces) of the new element node- Specified by:
processContent
in classElementCreator.ElementCreationDetails
- Parameters:
out
- the output destinationcontext
- evaluation context- Throws:
XPathException
- if processing fails
-