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

## org.apache.xml.security.signature
Interface NodeFilter

    public interface NodeFilter

An interface to tell to the c14n if a node is included or not in the output

Method Summary
`int` | `isNodeInclude(org.w3c.dom.Node n)` Tells if a node must be output in c14n.
`int` | `isNodeIncludeDO(org.w3c.dom.Node n, int level)` Tells if a node must be output in a c14n.

Method Detail

### isNodeInclude

    int isNodeInclude(org.w3c.dom.Node n)

  Tells if a node must be output in c14n.

  Parameters:
    `n` -
  Returns:
    1 if the node should be output. 0 if node must not be output, -1 if the node and all it's child must not be output.

### isNodeIncludeDO

    int isNodeIncludeDO(org.w3c.dom.Node n,
                        int level)

  Tells if a node must be output in a c14n. The caller must assured that this method is always call in document order. The implementations can use this restriction to optimize the transformation.

  Parameters:
    `n` -
    `level` - the relative level in the tree
  Returns:
    1 if the node should be output. 0 if node must not be output, -1 if the node and all it's child must not be output.

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