org.inria.ns.reflex.xml
Class QExpression.QNameWrapper

java.lang.Object
  extended by org.inria.ns.reflex.xml.QExpression
      extended by org.inria.ns.reflex.xml.QExpression.QNameWrapper
All Implemented Interfaces:
Unwrappable
Enclosing class:
QExpression

public static class QExpression.QNameWrapper
extends QExpression
implements Unwrappable

A QExpression that simply wraps a QName.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.xml.QExpression
QExpression.QNameWrapper
 
Nested classes/interfaces inherited from interface org.inria.ns.reflex.structures.Unwrappable
Unwrappable.Unwrapper
 
Field Summary
 
Fields inherited from interface org.inria.ns.reflex.structures.Unwrappable
UNWRAPPER
 
Constructor Summary
QExpression.QNameWrapper(QName qName)
          Wraps the given QName in a QExpression.
 
Method Summary
 QName getQName(XPathVariableResolver variableResolver)
          Returns the qualified name wrapped in this QExpression.
 Object unwrap()
          Unwrap this QName.
 
Methods inherited from class org.inria.ns.reflex.xml.QExpression
parseValueTemplate, parseValueTemplate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QExpression.QNameWrapper

public QExpression.QNameWrapper(QName qName)
Wraps the given QName in a QExpression.

Method Detail

getQName

public QName getQName(XPathVariableResolver variableResolver)
Returns the qualified name wrapped in this QExpression.

Specified by:
getQName in class QExpression
Parameters:
variableResolver - Unused.
Returns:
The qualified name wrapped in this QExpression.

unwrap

public Object unwrap()
Unwrap this QName.

Specified by:
unwrap in interface Unwrappable
Returns:
The underlying QName.
See Also:
Unwrappable.unwrap()