List of usage examples for com.google.gwt.xml.client DOMException INVALID_MODIFICATION_ERR
short INVALID_MODIFICATION_ERR
To view the source code for com.google.gwt.xml.client DOMException INVALID_MODIFICATION_ERR.
Click Source Link
From source file:client.net.sf.saxon.ce.xmldom.CharacterDataImpl.java
License:Mozilla Public License
/** * This function delegates to the native method <code>appendData</code> in * XMLParserImpl./*w w w .j a v a 2 s. c o m*/ */ public void appendData(String arg) { try { XMLParserImpl.appendData(this.getJsObject(), arg); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }
From source file:client.net.sf.saxon.ce.xmldom.CharacterDataImpl.java
License:Mozilla Public License
/** * This function delegates to the native method <code>deleteData</code> in * XMLParserImpl.//w w w.j a va2 s. c om */ public void deleteData(int offset, int count) { try { XMLParserImpl.deleteData(this.getJsObject(), offset, count); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }
From source file:client.net.sf.saxon.ce.xmldom.CharacterDataImpl.java
License:Mozilla Public License
/** * This function delegates to the native method <code>insertData</code> in * XMLParserImpl./*www . ja va2s. c o m*/ */ public void insertData(int offset, String arg) { try { XMLParserImpl.insertData(this.getJsObject(), offset, arg); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }
From source file:client.net.sf.saxon.ce.xmldom.CharacterDataImpl.java
License:Mozilla Public License
/** * This function delegates to the native method <code>replaceData</code> in * XMLParserImpl.//from ww w . j a v a2 s. c om */ public void replaceData(int offset, int count, String arg) { try { XMLParserImpl.replaceData(this.getJsObject(), offset, count, arg); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }
From source file:client.net.sf.saxon.ce.xmldom.CharacterDataImpl.java
License:Mozilla Public License
/** * This function delegates to the native method <code>setData</code> in * XMLParserImpl.// w w w . j a va2 s. c o m */ public void setData(String data) { try { XMLParserImpl.setData(this.getJsObject(), data); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }
From source file:client.net.sf.saxon.ce.xmldom.ElementImpl.java
License:Mozilla Public License
/** * This function delegates to the native method <code>removeAttribute</code> * in XMLParserImpl./* w w w . ja v a 2s. c o m*/ */ public void removeAttribute(String name) throws DOMNodeExceptionXml { try { XMLParserImpl.removeAttribute(this.getJsObject(), name); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }
From source file:client.net.sf.saxon.ce.xmldom.ElementImpl.java
License:Mozilla Public License
/** * This function delegates to the native method <code>setAttribute</code> in * XMLParserImpl.//from w w w . ja v a 2 s . c o m */ public void setAttribute(String name, String value) throws DOMNodeExceptionXml { try { XMLParserImpl.setAttribute(this.getJsObject(), name, value); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }
From source file:client.net.sf.saxon.ce.xmldom.NamedNodeMapImpl.java
License:Apache License
/** * This function delegates to the native method <code>removeNamedItem</code> * in XMLParserImpl./* www . j av a 2 s . c o m*/ */ public Node removeNamedItem(String name) { try { return NodeXml.build(XMLParserImpl.removeNamedItem(this.getJsObject(), name)); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }
From source file:client.net.sf.saxon.ce.xmldom.NamedNodeMapImpl.java
License:Apache License
/** * This function delegates to the native method <code>setNamedItem</code> in * XMLParserImpl./*from www .java2 s . c o m*/ */ public Node setNamedItem(Node arg) { try { return NodeXml.build(XMLParserImpl.setNamedItem(this.getJsObject(), ((DomItemXml) arg).getJsObject())); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }
From source file:client.net.sf.saxon.ce.xmldom.NodeXml.java
License:Apache License
/** * This function delegates to the native method <code>appendChild</code> in * XMLParserImpl./*w w w .ja v a 2 s .c om*/ */ public Node appendChild(Node newChild) { try { final JavaScriptObject newChildJs = ((DomItemXml) newChild).getJsObject(); final JavaScriptObject appendChildResults = XMLParserImpl.appendChild(this.getJsObject(), newChildJs); return NodeXml.build(appendChildResults); } catch (JavaScriptException e) { throw new DOMNodeExceptionXml(DOMException.INVALID_MODIFICATION_ERR, e, this); } }