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 nodevoidprocessContent(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.ElementCreationDetailsGet the name of the element node to be constructed- Specified by:
getNodeNamein 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.ElementCreationDetailsGet the base URI to be assigned to the new element node- Specified by:
getSystemIdin 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.ElementCreationDetailsCallback to process the content expression, generating attributes, children and descendants (but not namespaces) of the new element node- Specified by:
processContentin classElementCreator.ElementCreationDetails- Parameters:
out- the output destinationcontext- evaluation context- Throws:
XPathException- if processing fails
-