org.apache.cocoon.components.xpointer
Class XPointerPart

java.lang.Object
  extended byorg.apache.cocoon.components.xpointer.XPointerPart
All Implemented Interfaces:
PointerPart

public class XPointerPart
extends Object
implements PointerPart

Partial implementation of the xpointer() scheme. Only the XPath subset of xpointer is supported.

Version:
$Id: XPointerPart.html 1304280 2012-03-23 11:18:01Z ilgrosso $

Constructor Summary
XPointerPart(String expression)
           
 
Method Summary
 boolean process(XPointerContext ctx)
          If this pointer part successfully identifies any subresources, it should stream them to the XMLConsumer available from the XPointerContext and return true.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XPointerPart

public XPointerPart(String expression)
Method Detail

process

public boolean process(XPointerContext ctx)
                throws SAXException,
                       org.apache.cocoon.ResourceNotFoundException
Description copied from interface: PointerPart
If this pointer part successfully identifies any subresources, it should stream them to the XMLConsumer available from the XPointerContext and return true. Otherwise this method should return false.

Specified by:
process in interface PointerPart
Throws:
SAXException
org.apache.cocoon.ResourceNotFoundException


Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.