1 16 19 package org.apache.xalan.templates; 20 21 import org.apache.xpath.XPath; 22 23 28 public class WhiteSpaceInfo extends ElemTemplate 29 { 30 31 33 private boolean m_shouldStripSpace; 34 35 42 public boolean getShouldStripSpace() 43 { 44 return m_shouldStripSpace; 45 } 46 47 56 public WhiteSpaceInfo(Stylesheet thisSheet) 57 { 58 setStylesheet(thisSheet); 59 } 60 61 62 71 public WhiteSpaceInfo(XPath matchPattern, boolean shouldStripSpace, Stylesheet thisSheet) 72 { 73 74 m_shouldStripSpace = shouldStripSpace; 75 76 setMatch(matchPattern); 77 78 setStylesheet(thisSheet); 79 } 80 81 84 public void recompose(StylesheetRoot root) 85 { 86 root.recomposeWhiteSpaceInfo(this); 87 } 88 89 } 90 | Popular Tags |