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
public abstract static class ElementCreator.ElementCreationDetails extends java.lang.Object
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 Constructor Description ElementCreationDetails()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract NodeName
getNodeName(XPathContext context)
Get the name of the element node to be constructedabstract java.lang.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
-
-
-
Method Detail
-
getNodeName
public abstract NodeName getNodeName(XPathContext context) throws XPathException
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
public abstract java.lang.String getSystemId(XPathContext context) throws XPathException
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
public abstract void processContent(Outputter out, XPathContext context) throws XPathException
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
-
-