1 package net.sf.saxon.om; 2 import net.sf.saxon.event.Stripper; 3 4 9 10 public class AllElementStripper extends Stripper { 11 12 private static AllElementStripper theInstance = new AllElementStripper(); 13 14 public static AllElementStripper getInstance() { 15 return theInstance; 16 } 17 18 public AllElementStripper() {} 19 20 public Stripper getAnother() { 21 return theInstance; 22 } 23 24 29 30 public byte isSpacePreserving(int nameCode) { 31 return STRIP_DEFAULT; 32 } 33 34 41 42 public byte isSpacePreserving(NodeInfo element) { 43 return STRIP_DEFAULT; 44 } 45 46 } 48 | Popular Tags |