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


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



public class ElementTest
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.AttrElemTest
Class for Element testing.

Constructor Summary

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

Method Summary

public java.lang.Objectaccept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)
     Support for Visitor interface.
public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyTypecreateTestType(org.eclipse.wst.xml.xpath2.api.ResultSequence rs , org.eclipse.wst.xml.xpath2.api.StaticContext sc)
    
public java.lang.ClassgetXDMClassType()
    
public booleanisWild()
    
public booleanqmark()
     Set nilled property.

Constructor Detail

ElementTest

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

Constructor for ElementTest. This takes in 4 inputs, Name, wildcard test(true/false), type and question mark test(true/false).


ElementTest

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

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


ElementTest

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

Constructor for ElementTest. This takes in 2 inputs, Name, wildcard test(true/false).


ElementTest

public ElementTest()

Default Constructor for ElementTest.


Methods Detail

accept

public java.lang.Object accept(org.eclipse.wst.xml.xpath2.processor.internal.ast.XPathVisitor v)

Support for Visitor interface.

Parameters

v

Returns

java.lang.Object - Result of Visitor operation.


createTestType

public org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType createTestType(org.eclipse.wst.xml.xpath2.api.ResultSequence rs , org.eclipse.wst.xml.xpath2.api.StaticContext sc)

Parameters

rs

sc

Returns

org.eclipse.wst.xml.xpath2.processor.internal.types.AnyType


getXDMClassType

public java.lang.Class getXDMClassType()

Returns

java.lang.Class


isWild

public boolean isWild()

Returns

boolean


qmark

public boolean qmark()

Set nilled property.

Returns

boolean - Result of operation.