Package org.eclipse.wst.xml.xpath2.processor.internal.ast


org.eclipse.wst.xml.xpath2.processor.internal.ast
Class AttrElemTest



public class AttrElemTest
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.KindTest
Common base class for Attribute and Element tests.

Constructor Summary

AttrElemTest(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name , boolean wild , org.eclipse.wst.xml.xpath2.processor.internal.types.QName type)
AttrElemTest(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name , boolean wild)
AttrElemTest()

Method Summary

protected shortgetDerviationTypes()
    
public org.eclipse.wst.xml.xpath2.processor.internal.types.QNamename()
     Support for name test.
public org.eclipse.wst.xml.xpath2.processor.internal.types.QNametype()
     Support for type test.
public booleanwild()
     Support for wildcard test.

Constructor Detail

AttrElemTest

public AttrElemTest(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name , boolean wild , org.eclipse.wst.xml.xpath2.processor.internal.types.QName type)

Constructor for Attribute and Element tests. This takes in 3 inputs, Name, wildcard test(true/false) and type.


AttrElemTest

public AttrElemTest(org.eclipse.wst.xml.xpath2.processor.internal.types.QName name , boolean wild)

Constructor for Attribute and Element tests. This takes in 2 inputs, Name and wildcard test(true/false).


AttrElemTest

public AttrElemTest()

Default Constructor for Attribute and Element tests. This takes in no inputs.


Methods Detail

getDerviationTypes

protected short getDerviationTypes()

Returns

short


name

public org.eclipse.wst.xml.xpath2.processor.internal.types.QName name()

Support for name test.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.types.QName - Result of name test.


type

public org.eclipse.wst.xml.xpath2.processor.internal.types.QName type()

Support for type test.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.types.QName - Result of type test.


wild

public boolean wild()

Support for wildcard test.

Returns

boolean - Result of wildcard test.