net.sf.saxon.event

Class NoOpenStartTagException

public class NoOpenStartTagException extends XPathException

Exception indicating that an attribute or namespace node has been written when there is no open element to write it to
Constructor Summary
NoOpenStartTagException(String message)
Method Summary
static NoOpenStartTagExceptionmakeNoOpenStartTagException(int nodeKind, String name, int hostLanguage, boolean parentIsDocument, boolean isSerializing)
Static factory method to create the exception

Constructor Detail

NoOpenStartTagException

public NoOpenStartTagException(String message)

Method Detail

makeNoOpenStartTagException

public static NoOpenStartTagException makeNoOpenStartTagException(int nodeKind, String name, int hostLanguage, boolean parentIsDocument, boolean isSerializing)
Static factory method to create the exception

Parameters: nodeKind the kind of node being created (attribute or namespace) name the name of the node being created hostLanguage XSLT or XQuery (error codes are different in the two cases) parentIsDocument true if the nodes are being added to a document node (rather than an element) isSerializing true if the document is being created in the process of serialization

Returns: the constructed exception object