public class NoOpenStartTagException extends XPathException
XPathException.Circularity
Constructor and Description |
---|
NoOpenStartTagException(java.lang.String message) |
Modifier and Type | Method and Description |
---|---|
static NoOpenStartTagException |
makeNoOpenStartTagException(int nodeKind,
java.lang.String name,
int hostLanguage,
boolean parentIsDocument,
boolean isSerializing,
Location startElementLocationId)
Static factory method to create the exception
|
getErrorCodeLocalPart, getErrorCodeNamespace, getErrorCodeQName, getErrorObject, getHostLanguage, getLocator, getXPathContext, hasBeenReported, isGlobalError, isReportableStatically, isStaticError, isSyntaxError, isTypeError, makeXPathException, maybeSetContext, maybeSetErrorCode, maybeSetLocation, setErrorCode, setErrorCodeQName, setErrorObject, setHasBeenReported, setHostLanguage, setIsGlobalError, setIsStaticError, setIsSyntaxError, setIsTypeError, setLocation, setXPathContext
getCause, getException, getLocationAsString, getMessageAndLocation, initCause, printStackTrace, printStackTrace, printStackTrace, setLocator
public static NoOpenStartTagException makeNoOpenStartTagException(int nodeKind, java.lang.String name, int hostLanguage, boolean parentIsDocument, boolean isSerializing, Location startElementLocationId)
nodeKind
- the kind of node being created (attribute or namespace)name
- the name of the node being createdhostLanguage
- 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 serializationstartElementLocationId
- integer that can be passed to the location provider to get the location
of the offending instruction that created the element nodeCopyright (c) 2004-2018 Saxonica Limited. All rights reserved.