org.w3c.dom.ls
Interface DOMSerializerFilter
- All Superinterfaces:
- NodeFilter
- public interface DOMSerializerFilter
- extends NodeFilter
DOMSerializerFilters provide applications the ability to
examine nodes as they are being serialized and decide what nodes should
be serialized or not. The DOMSerializerFilter interface is
based on the NodeFilter interface defined in [DOM Level 2 Traversal and Range]
.
The Document, DocumentType,
DocumentFragment, Attr, Notation,
and Entity nodes are not passed to the filter.
The result of any attempt to modify a node passed to a
DOMSerializerFilter is implementation dependent.
See also the Document Object Model (DOM) Level 3 Load
and Save Specification.
| Fields inherited from interface org.w3c.dom.traversal.NodeFilter |
FILTER_ACCEPT, FILTER_REJECT, FILTER_SKIP, SHOW_ALL, SHOW_ATTRIBUTE, SHOW_CDATA_SECTION, SHOW_COMMENT, SHOW_DOCUMENT, SHOW_DOCUMENT_FRAGMENT, SHOW_DOCUMENT_TYPE, SHOW_ELEMENT, SHOW_ENTITY, SHOW_ENTITY_REFERENCE, SHOW_NOTATION, SHOW_PROCESSING_INSTRUCTION, SHOW_TEXT |
|
Method Summary |
int |
getWhatToShow()
Tells the DOMSerializer what types of nodes to show to
the filter. |
getWhatToShow
public int getWhatToShow()
- Tells the
DOMSerializer what types of nodes to show to
the filter. See NodeFilter for definition of the
constants. The constants SHOW_ATTRIBUTE,
SHOW_DOCUMENT, SHOW_DOCUMENT_TYPE,
SHOW_NOTATION, SHOW_ATTRIBUTE, and
SHOW_DOCUMENT_FRAGMENT are meaningless here, those nodes
will never be passed to a DOMSerializerFilter.
The constants used here are defined in [DOM Level 2 Traversal and Range]
.
Copyright ? 1999-2003 Apache XML Project. All Rights Reserved.