org.apache.cocoon.components.xpointer
Class XmlnsPart
java.lang.Object
org.apache.cocoon.components.xpointer.XmlnsPart
- All Implemented Interfaces:
- PointerPart
public class XmlnsPart
- extends Object
- implements PointerPart
Implements support for the XPointer xmlns() Scheme.
See also http://www.w3.org/TR/xptr-xmlns/.
Method Summary |
boolean |
process(XPointerContext xpointerContext)
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 |
XmlnsPart
public XmlnsPart(String prefix,
String namespace)
- Creates an XmlnsPart.
process
public boolean process(XPointerContext xpointerContext)
throws SAXException
- 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
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.