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


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



public class DocumentTest
extends org.eclipse.wst.xml.xpath2.processor.internal.ast.KindTest
Class for Document testing.

Field Summary

public static intELEMENT
     Set internal value for ELEMENT.
public static intNONE
     Set internal value for NONE.
public static intSCHEMA_ELEMENT
     Set internal value for SCHEMA_ELEMENT.

Constructor Summary

DocumentTest(int type , java.lang.Object arg)
DocumentTest()

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 org.eclipse.wst.xml.xpath2.processor.internal.ast.AttrElemTestelem_test()
     Element test.
public java.lang.ClassgetXDMClassType()
    
public booleanisWild()
    
public org.eclipse.wst.xml.xpath2.processor.internal.types.QNamename()
    
public org.eclipse.wst.xml.xpath2.processor.internal.ast.SchemaElemTestschema_elem_test()
     Schema element test.
public inttype()
     Get test type.

Field Detail

ELEMENT

public static int ELEMENT

Set internal value for ELEMENT.

NONE

public static int NONE

Set internal value for NONE.

SCHEMA_ELEMENT

public static int SCHEMA_ELEMENT

Set internal value for SCHEMA_ELEMENT.

Constructor Detail

DocumentTest

public DocumentTest(int type , java.lang.Object arg)

Constructor for DocumentTest.


DocumentTest

public DocumentTest()

Default Constructor for DocumentTest.


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


elem_test

public org.eclipse.wst.xml.xpath2.processor.internal.ast.AttrElemTest elem_test()

Element test.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.ast.AttrElemTest - Element test.


getXDMClassType

public java.lang.Class getXDMClassType()

Returns

java.lang.Class


isWild

public boolean isWild()

Returns

boolean


name

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

Returns

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


schema_elem_test

public org.eclipse.wst.xml.xpath2.processor.internal.ast.SchemaElemTest schema_elem_test()

Schema element test.

Returns

org.eclipse.wst.xml.xpath2.processor.internal.ast.SchemaElemTest - Schema element test.


type

public int type()

Get test type.

Returns

int - Type of test.