org.xmlhammer.model.tools.xpath
Class XPath

java.lang.Object
  extended by org.xmlhammer.model.tools.Tool
      extended by org.xmlhammer.model.tools.xpath.XPath

public class XPath
extends Tool

Java class for xpath element declaration.

The following schema fragment specifies the expected content contained within this class.

 <element name="xpath">
   <complexType>
     <complexContent>
       <extension base="{http://www.xmlhammer.org/2007/tools}tool">
         <attribute name="context" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
         <attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
         <attribute name="returnType" default="NODESET">
           <simpleType>
             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
               <enumeration value="NUMBER"/>
               <enumeration value="STRING"/>
               <enumeration value="BOOLEAN"/>
               <enumeration value="NODESET"/>
               <enumeration value="NODE"/>
             </restriction>
           </simpleType>
         </attribute>
       </extension>
     </complexContent>
   </complexType>
 </element>
 


Field Summary
protected  java.lang.String context
           
protected  java.lang.String expression
           
protected  java.lang.String returnType
           
 
Constructor Summary
XPath()
           
 
Method Summary
 java.lang.String getContext()
          Gets the value of the context property.
 java.lang.String getExpression()
          Gets the value of the expression property.
 java.lang.String getReturnType()
          Gets the value of the returnType property.
 void setContext(java.lang.String value)
          Sets the value of the context property.
 void setExpression(java.lang.String value)
          Sets the value of the expression property.
 void setReturnType(java.lang.String value)
          Sets the value of the returnType property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

context

protected java.lang.String context

expression

protected java.lang.String expression

returnType

protected java.lang.String returnType
Constructor Detail

XPath

public XPath()
Method Detail

getContext

public java.lang.String getContext()
Gets the value of the context property.

Returns:
possible object is String

setContext

public void setContext(java.lang.String value)
Sets the value of the context property.

Parameters:
value - allowed object is String

getExpression

public java.lang.String getExpression()
Gets the value of the expression property.

Returns:
possible object is String

setExpression

public void setExpression(java.lang.String value)
Sets the value of the expression property.

Parameters:
value - allowed object is String

getReturnType

public java.lang.String getReturnType()
Gets the value of the returnType property.

Returns:
possible object is String

setReturnType

public void setReturnType(java.lang.String value)
Sets the value of the returnType property.

Parameters:
value - allowed object is String


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.