Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.saxon.om
Class AllElementsSpaceStrippingRule

    java.lang.Object
      net.sf.saxon.om.AllElementsSpaceStrippingRule

All Implemented Interfaces:
  SpaceStrippingRule

    public class AllElementsSpaceStrippingRule

extends Object
implements SpaceStrippingRule

A whitespace stripping rule that strips all elements unless xml:space indicates that whitespace should be preserved.

Constructor Summary
`AllElementsSpaceStrippingRule()`

Method Summary
`static AllElementsSpaceStrippingRule` | `getInstance()`
`byte` | `isSpacePreserving(NodeName fingerprint)` Decide whether an element is in the set of white-space preserving element types

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### AllElementsSpaceStrippingRule

    public AllElementsSpaceStrippingRule()

Method Detail

### getInstance

    public static AllElementsSpaceStrippingRule getInstance()

### isSpacePreserving

    public byte isSpacePreserving(NodeName fingerprint)

  Decide whether an element is in the set of white-space preserving element types

  Specified by:
    `isSpacePreserving` in interface `SpaceStrippingRule`
  Parameters:
    `fingerprint` - identifies the element being tested
  Returns:
    STRIP_DEFAULT: strip spaces unless xml:space tells you not to.

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (c) 2004-2011 Saxonica Limited. All rights reserved.