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
public static class Copy.CopyElementDetails extends ElementCreator.ElementCreationDetails
-
-
Constructor Summary
Constructors Constructor Description CopyElementDetails(PushEvaluator contentEvaluator, NodeInfo copiedNode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NodeInfo
getCopiedNode()
NodeName
getNodeName(XPathContext context)
Get the name of the element node to be constructedjava.lang.String
getSystemId(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 Detail
-
CopyElementDetails
public CopyElementDetails(PushEvaluator contentEvaluator, NodeInfo copiedNode)
-
-
Method Detail
-
getCopiedNode
public NodeInfo getCopiedNode()
-
getNodeName
public NodeName getNodeName(XPathContext context) throws XPathException
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
public java.lang.String getSystemId(XPathContext context) throws XPathException
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
public void processContent(Outputter out, XPathContext context) throws XPathException
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
-
-