1 16 package org.apache.cocoon.components.xpointer; 17 18 import org.xml.sax.SAXException ; 19 20 public class UnsupportedPart implements PointerPart { 21 private String schemeName; 22 23 public UnsupportedPart(String schemeName) { 24 this.schemeName = schemeName; 25 } 26 27 public boolean process(XPointerContext xpointerContext) throws SAXException { 28 throw new SAXException ("Scheme " + schemeName + " not supported by this XPointer implementation, as used in the fragment identifier " + xpointerContext.getXPointer()); 29 } 30 } 31 | Popular Tags |