public class DOMWSFilter extends Object implements DTMWSFilter
DTMWSFilter
interface to the XSLTC
DOM StripFilter
interface.INHERIT, NOTSTRIP, STRIP
Constructor and Description |
---|
DOMWSFilter(AbstractTranslet translet)
Construct an adapter connecting the
DTMWSFilter interface
to the StripFilter interface. |
Modifier and Type | Method and Description |
---|---|
short |
getShouldStripSpace(int node,
DTM dtm)
Test whether whitespace-only text nodes are visible in the logical
view of
DTM . |
public DOMWSFilter(AbstractTranslet translet)
DTMWSFilter
interface
to the StripFilter
interface.translet
- A translet that also implements the StripFilter
interface.DTMWSFilter
,
StripFilter
public short getShouldStripSpace(int node, DTM dtm)
DTM
. Normally, this function
will be called by the implementation of DTM
;
it is not normally called directly from
user code.getShouldStripSpace
in interface DTMWSFilter
node
- int handle of the node.dtm
- the DTM that owns this nodeNOTSTRIP
, STRIP
or
INHERIT
.Copyright © 2018 JBoss by Red Hat. All rights reserved.