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

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

public static class XMLPath.SourceXMLPath
extends XMLPath

Class SourceXMLPath, represents the xpath root/or source of evaluation.

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.SourceXMLPath(XMLPathCtx ctx, Document doc)
          Constructor creates a new instance.
protected XMLPath.SourceXMLPath(XMLPathCtx ctx, InputSource source)
          Constructor creates a new instance.
protected XMLPath.SourceXMLPath(XMLPathCtx ctx, Node doc)
          Constructor creates a new instance.
protected XMLPath.SourceXMLPath(XMLPathCtx ctx, NodeList set)
          Constructor creates a new instance.
protected XMLPath.SourceXMLPath(XMLPathCtx ctx, String source)
          Constructor creates a new instance.
 
Method Summary
protected  Object eval()
          Method evals the xpath.
protected  QName getReturnType()
          Method gets the returnType of an evaluation.
 
Methods inherited from class org.n52.security.common.xml.XMLPath
all, bool, compile, node, number, text
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLPath.SourceXMLPath

protected XMLPath.SourceXMLPath(XMLPathCtx ctx,
                                Document doc)
Constructor creates a new instance.

Parameters:
ctx - the ctx.
doc - the doc.

XMLPath.SourceXMLPath

protected XMLPath.SourceXMLPath(XMLPathCtx ctx,
                                Node doc)
Constructor creates a new instance.

Parameters:
ctx - the ctx.
doc - the doc.

XMLPath.SourceXMLPath

protected XMLPath.SourceXMLPath(XMLPathCtx ctx,
                                NodeList set)
Constructor creates a new instance.

Parameters:
ctx - the ctx.
set - the set.

XMLPath.SourceXMLPath

protected XMLPath.SourceXMLPath(XMLPathCtx ctx,
                                InputSource source)
Constructor creates a new instance.

Parameters:
ctx - the ctx.
source - the source.

XMLPath.SourceXMLPath

protected XMLPath.SourceXMLPath(XMLPathCtx ctx,
                                String source)
Constructor creates a new instance.

Parameters:
ctx - the ctx.
source - the source.
Method Detail

eval

protected Object eval()
Description copied from class: XMLPath
Method evals the xpath.

Overrides:
eval in class XMLPath
Returns:
Object.
See Also:
XMLPath.eval()

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–2014 52north.org. All rights reserved.