blob: 46720f4de9593952650ce57735ab859dd92cccd1 [file] [log] [blame]
/*
* This file is part of the KDE libraries
*
* Copyright (C) 2005 Frans Englich <frans.englich@telia.com>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public License
* along with this library; see the file COPYING.LIB. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
*/
#ifndef KDOM_XPointer_ShortHandImpl_H
#define KDOM_XPointer_ShortHandImpl_H
#include <kdom/xpointer/PointerPartImpl.h>
namespace KDOM
{
namespace XPointer
{
class NBC;
class XPointerResultImpl;
/**
* An implementation of short hand pointers, as described
* in the XPointer Framework: http://www.w3.org/TR/xptr-framework/
*
* @author Frans Englich <frans.englich@telia.com>
*/
class ShortHandImpl : public PointerPartImpl
{
public:
ShortHandImpl(DOMStringImpl *str);
virtual ~ShortHandImpl();
virtual XPointerResultImpl *evaluate(NodeImpl *context) const;
};
};
};
#endif
// vim:ts=4:noet