Package net.sf.saxon.expr.instruct
Class ElementCreator.ElementCreationDetails
java.lang.Object
net.sf.saxon.expr.instruct.ElementCreator.ElementCreationDetails
- Direct Known Subclasses:
Copy.CopyElementDetails
- Enclosing class:
ElementCreator
ElementCreationDetails is a package of information and callbacks designed
to parameterize the element construction process, to allow maximum use of
common code for direct interpreted evaluation, elaborated evaluation,
streamed evaluation, etc; supporting the variations that exist between
computed element constructors, fixed element constructors, and shallow copy.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract NodeName
getNodeName
(XPathContext context) Get the name of the element node to be constructedabstract String
getSystemId
(XPathContext context) Get the base URI to be assigned to the new element nodeabstract void
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
-
ElementCreationDetails
public ElementCreationDetails()
-
-
Method Details
-
getNodeName
Get the name of the element node to be constructed- Parameters:
context
- evaluation context- Returns:
- the element name
- Throws:
XPathException
- if computation of the element name fails
-
getSystemId
Get the base URI to be assigned to the new element node- Parameters:
context
- evaluation context- Returns:
- the base URI
- Throws:
XPathException
- if computation of the base URI fails
-
processContent
Callback to process the content expression, generating attributes, children and descendants (but not namespaces) of the new element node- Parameters:
out
- the output destinationcontext
- evaluation context- Throws:
XPathException
- if processing fails
-