org.jaxen.expr

Class DefaultProcessingInstructionNodeStep

Implemented Interfaces:
Predicated, ProcessingInstructionNodeStep, Serializable, Step

public class DefaultProcessingInstructionNodeStep
extends DefaultStep
implements ProcessingInstructionNodeStep

Field Summary

private String
name
private static long
serialVersionUID

Fields inherited from class org.jaxen.expr.DefaultStep

axis, predicates

Constructor Summary

DefaultProcessingInstructionNodeStep(IterableAxis axis, String name, PredicateSet predicateSet)

Method Summary

String
getName()
Returns the target matched by this processing instruction node-step.
String
getText()
boolean
matches(Object node, ContextSupport support)

Methods inherited from class org.jaxen.expr.DefaultStep

addPredicate, axisIterator, evaluate, getAxis, getAxisName, getIterableAxis, getPredicateSet, getPredicates, getText, simplify, toString

Field Details

name

private String name

serialVersionUID

private static final long serialVersionUID
Field Value:
-4825000697808126927L

Constructor Details

DefaultProcessingInstructionNodeStep

public DefaultProcessingInstructionNodeStep(IterableAxis axis,
                                            String name,
                                            PredicateSet predicateSet)

Method Details

getName

public String getName()
Returns the target matched by this processing instruction node-step.
Specified by:
getName in interface ProcessingInstructionNodeStep
Returns:
the target of the processing instruction

getText

public String getText()
Specified by:
getText in interface Step
Overrides:
getText in interface DefaultStep

matches

public boolean matches(Object node,
                       ContextSupport support)
Specified by:
matches in interface Step