/** * Simple error for asserts and the like. * * @param msg Error message to report. */ protected void error(String msg) { throw new DTMException(msg); }
/** * Simple error for asserts and the like. * * @param msg Error message to report. */ protected void error(String msg) { throw new DTMException(msg); }
public Node replaceChild(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);} public Node appendChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);}
public void setValue(String value) {throw new DTMException(NOT_SUPPORTED_ERR);} public void setPrefix(String value) {throw new DTMException(NOT_SUPPORTED_ERR);}
public Node appendChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);} public Node removeChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);}
public void setNodeValue(String value) {throw new DTMException(NOT_SUPPORTED_ERR);} public void setValue(String value) {throw new DTMException(NOT_SUPPORTED_ERR);}
public void setPrefix(String value) {throw new DTMException(NOT_SUPPORTED_ERR);} public Node insertBefore(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);}
public Node insertBefore(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);} public Node replaceChild(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);}
public Node removeChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);} public Document getOwnerDocument() {return pseudoparent.getOwnerDocument();}
public Node cloneNode(boolean deep) {throw new DTMException(NOT_SUPPORTED_ERR);}
public void setPrefix(String value) {throw new DTMException(NOT_SUPPORTED_ERR);} public Node insertBefore(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);}
public Node appendChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);} public Node removeChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);}
public Node removeChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);} public Document getOwnerDocument() {return pseudoparent.getOwnerDocument();}
public void setNodeValue(String value) {throw new DTMException(NOT_SUPPORTED_ERR);} public void setValue(String value) {throw new DTMException(NOT_SUPPORTED_ERR);}
public Node insertBefore(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);} public Node replaceChild(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);}
public Node replaceChild(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);} public Node appendChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);}
public void setValue(String value) {throw new DTMException(NOT_SUPPORTED_ERR);} public void setPrefix(String value) {throw new DTMException(NOT_SUPPORTED_ERR);}
public Node cloneNode(boolean deep) {throw new DTMException(NOT_SUPPORTED_ERR);}
/** * Returns a deep copy of this iterator. The cloned iterator is not reset. * * @return a deep copy of this iterator. */ public DTMAxisIterator cloneIterator() { _isRestartable = false; // must set to false for any clone try { final AncestorIterator clone = (AncestorIterator) super.clone(); clone._startNode = _startNode; // return clone.reset(); return clone; } catch (CloneNotSupportedException e) { throw new DTMException(XMLMessages.createXMLMessage(XMLErrorResources.ER_ITERATOR_CLONE_NOT_SUPPORTED, null)); //"Iterator clone not supported."); } }
/** * Returns a deep copy of this iterator. The cloned iterator is not reset. * * @return a deep copy of this iterator. */ public DTMAxisIterator cloneIterator() { _isRestartable = false; // must set to false for any clone try { final AncestorIterator clone = (AncestorIterator) super.clone(); clone._startNode = _startNode; // return clone.reset(); return clone; } catch (CloneNotSupportedException e) { throw new DTMException(XMLMessages.createXMLMessage(XMLErrorResources.ER_ITERATOR_CLONE_NOT_SUPPORTED, null)); //"Iterator clone not supported."); } }