Class DocumentBuilder

Class DomDestination

Class DynamicContext

Class DynamicError

Class EmptyEnumerator

Class ExtensionFunctionCall

Class ExtensionFunctionDefinition

Class InvalidityHandlerWrapper

Class NamespaceConstant

Class NullDestination

Class Processor

Class QName

Class SchemaManager

Class SchemaValidator

Class Serializer

Class StandardLogger

Class StaticContext

Class StaticError

Class TextWriterDestination

Class WhitespacePolicy

Class XPathCompiler

Class XPathExecutable

Class XPathSelector

Class XQueryCompiler

Class XQueryEvaluator

Class XQueryExecutable

Class XdmAnyFunctionType

Class XdmAnyItemType

Class XdmAnyNodeType

Class XdmArray

Class XdmAtomicType

Class XdmAtomicValue

Class XdmDestination

  - Class TreeProtector

Class XdmEmptySequence

Class XdmExternalObjectValue

Class XdmFunctionItem

Class XdmItem

Class XdmItemType

Class XdmMap

Class XdmNode

Class XdmNodeKind

Class XdmSequenceType

Class XdmValue

Class XmlDestination

Class Xslt30Transformer

Class XsltCompiler

Class XsltExecutable

  - Class ParameterDetails

Class XsltPackage

Class XsltTransformer

Enum RecoveryPolicy

Enum SchemaValidationMode

Enum TreeModel

Enum XdmAxis

Interface IInvalidityHandler

Interface IMessageListener

Interface IQueryResolver

Interface IResultDocumentHandler

Interface IXdmEnumerator

Interface IXmlLocation

Interface SchemaResolver


Class WhitespacePolicy

public class WhitespacePolicy
implements object

WhitespacePolicy is a class defining the possible policies for handling whitespace text nodes in a source document. Please note that since Saxon this class has been refactored from the enumeration type with the same name and therefore will work as before.

Field Summary
static WhitespacePolicy StripAll

All whitespace text nodes are stripped

static WhitespacePolicy StripIgnorable

Whitespace text nodes appearing in element-only content are stripped

static WhitespacePolicy PreserveAll

No whitespace is stripped

static WhitespacePolicy Unspecified

Unspecified means that no other value has been specifically requested

Method Summary
static WhitespacePolicy makeCustomPolicy(Predicate<QName> elementTest)
Field Detail


public static WhitespacePolicy StripAll

All whitespace text nodes are stripped


public static WhitespacePolicy StripIgnorable

Whitespace text nodes appearing in element-only content are stripped


public static WhitespacePolicy PreserveAll

No whitespace is stripped


public static WhitespacePolicy Unspecified

Unspecified means that no other value has been specifically requested

Method Detail


public static WhitespacePolicy makeCustomPolicy(Predicate<QName> elementTest)