org.n52.security.common.xml
Class XMLPath.NumberXMLPath

java.lang.Object
  extended by org.n52.security.common.xml.XMLPath
      extended by org.n52.security.common.xml.XMLPath.NumberXMLPath
Enclosing class:
XMLPath

public static class XMLPath.NumberXMLPath
extends XMLPath

Class NumberXMLPath, represents xpath queries resulting in number values.

Version:
$Revision: $
Author:
Marko Reiprecht Created on 16.07.2008

Nested Class Summary
 
Nested classes/interfaces inherited from class org.n52.security.common.xml.XMLPath
XMLPath.BooleanXMLPath, XMLPath.NodeSetXMLPath, XMLPath.NodeXMLPath, XMLPath.NumberXMLPath, XMLPath.SourceXMLPath, XMLPath.StringXMLPath
 
Field Summary
 
Fields inherited from class org.n52.security.common.xml.XMLPath
m_ctx, m_previous, m_xPath
 
Constructor Summary
protected XMLPath.NumberXMLPath(XMLPath previous)
          Constructor creates a new instance.
 
Method Summary
 Number get()
          Method gets the queried number.
protected  QName getReturnType()
          Method gets the returnType of an evaluation.
 
Methods inherited from class org.n52.security.common.xml.XMLPath
all, bool, compile, eval, node, number, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPath.NumberXMLPath

protected XMLPath.NumberXMLPath(XMLPath previous)
Constructor creates a new instance.

Parameters:
previous - the previous.
Method Detail

get

public Number get()
Method gets the queried number.

Returns:
Number.

getReturnType

protected QName getReturnType()
Description copied from class: XMLPath
Method gets the returnType of an evaluation.

Specified by:
getReturnType in class XMLPath
Returns:
QName.
See Also:
XMLPath.getReturnType()


Copyright © 2004–2013 52north.org. All rights reserved.