Home
last modified time | relevance | path

Searched refs:DOMException (Results 1 – 25 of 271) sorted by relevance

1234567891011

/libcore/luni/src/main/java/org/w3c/dom/
DElement.java79 throws DOMException; in setAttribute()
97 throws DOMException; in removeAttribute()
132 throws DOMException; in setAttributeNode()
152 throws DOMException; in removeAttributeNode()
181 throws DOMException; in getAttributeNS()
228 throws DOMException; in setAttributeNS()
256 throws DOMException; in removeAttributeNS()
277 throws DOMException; in getAttributeNodeNS()
306 throws DOMException; in setAttributeNodeNS()
326 throws DOMException; in getElementsByTagNameNS()
[all …]
DDocument.java86 throws DOMException; in createElement()
117 throws DOMException; in createCDATASection()
139 throws DOMException; in createProcessingInstruction()
158 throws DOMException; in createAttribute()
186 throws DOMException; in createEntityReference()
314 throws DOMException; in importNode()
378 throws DOMException; in createElementNS()
447 throws DOMException; in createAttributeNS()
519 throws DOMException; in setXmlStandalone()
575 throws DOMException; in setXmlVersion()
[all …]
DCharacterData.java44 throws DOMException; in getData()
57 throws DOMException; in setData()
83 throws DOMException; in substringData()
94 throws DOMException; in appendData()
108 throws DOMException; in insertData()
127 throws DOMException; in deleteData()
151 throws DOMException; in replaceData()
DNode.java202 throws DOMException; in getNodeValue()
212 throws DOMException; in setNodeValue()
311 throws DOMException; in insertBefore()
348 throws DOMException; in replaceChild()
366 throws DOMException; in removeChild()
394 throws DOMException; in appendChild()
551 throws DOMException; in setPrefix()
629 throws DOMException; in compareDocumentPosition()
679 throws DOMException; in getTextContent()
726 throws DOMException; in setTextContent()
DNamedNodeMap.java66 throws DOMException; in setNamedItem()
83 throws DOMException; in removeNamedItem()
119 throws DOMException; in getNamedItemNS()
154 throws DOMException; in setNamedItemNS()
181 throws DOMException; in removeNamedItemNS()
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DCharacterDataImpl.java20 import org.w3c.dom.DOMException;
42 public void appendData(String arg) throws DOMException { in appendData()
46 public void deleteData(int offset, int count) throws DOMException { in deleteData()
50 public String getData() throws DOMException { in getData()
70 public void insertData(int offset, String arg) throws DOMException { in insertData()
74 throw new DOMException(DOMException.INDEX_SIZE_ERR, null); in insertData()
79 throws DOMException { in replaceData()
83 throw new DOMException(DOMException.INDEX_SIZE_ERR, null); in replaceData()
87 public void setData(String data) throws DOMException { in setData()
91 public String substringData(int offset, int count) throws DOMException { in substringData()
[all …]
DElementImpl.java20 import org.w3c.dom.DOMException;
220 public void removeAttribute(String name) throws DOMException { in removeAttribute()
229 throws DOMException { in removeAttributeNS()
237 public Attr removeAttributeNode(Attr oldAttr) throws DOMException { in removeAttributeNode()
241 throw new DOMException(DOMException.NOT_FOUND_ERR, null); in removeAttributeNode()
250 public void setAttribute(String name, String value) throws DOMException { in setAttribute()
262 String value) throws DOMException { in setAttributeNS()
273 public Attr setAttributeNode(Attr newAttr) throws DOMException { in setAttributeNode()
277 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null); in setAttributeNode()
281 throw new DOMException(DOMException.INUSE_ATTRIBUTE_ERR, null); in setAttributeNode()
[all …]
DNodeImpl.java26 import org.w3c.dom.DOMException;
74 public Node appendChild(Node newChild) throws DOMException { in appendChild()
75 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in appendChild()
116 public String getNodeValue() throws DOMException { in getNodeValue()
144 public Node insertBefore(Node newChild, Node refChild) throws DOMException { in insertBefore()
145 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in insertBefore()
155 public Node removeChild(Node oldChild) throws DOMException { in removeChild()
156 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in removeChild()
159 public Node replaceChild(Node newChild, Node oldChild) throws DOMException { in replaceChild()
160 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in replaceChild()
[all …]
DDocumentTypeImpl.java19 import org.w3c.dom.DOMException;
47 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName); in DocumentTypeImpl()
56 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName); in DocumentTypeImpl()
60 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, qualifiedName); in DocumentTypeImpl()
64 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, qualifiedName); in DocumentTypeImpl()
110 @Override public String getTextContent() throws DOMException { in getTextContent()
DInnerNodeImpl.java22 import org.w3c.dom.DOMException;
51 public Node appendChild(Node newChild) throws DOMException { in appendChild()
85 public Node insertBefore(Node newChild, Node refChild) throws DOMException { in insertBefore()
93 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null); in insertBefore()
97 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in insertBefore()
107 Node insertChildAt(Node newChild, int index) throws DOMException { in insertChildAt()
118 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null); in insertChildAt()
121 throw new DOMException(DOMException.HIERARCHY_REQUEST_ERR, null); in insertChildAt()
174 public Node removeChild(Node oldChild) throws DOMException { in removeChild()
178 throw new DOMException(DOMException.WRONG_DOCUMENT_ERR, null); in removeChild()
[all …]
DDOMConfigurationImpl.java24 import org.w3c.dom.DOMException;
315 throw new DOMException(DOMException.NOT_SUPPORTED_ERR, in set()
335 public void setParameter(String name, Object value) throws DOMException { in setParameter()
338 throw new DOMException(DOMException.NOT_FOUND_ERR, "No such parameter: " + name); in setParameter()
343 throw new DOMException(DOMException.TYPE_MISMATCH_ERR, in setParameter()
346 throw new DOMException(DOMException.TYPE_MISMATCH_ERR, in setParameter()
351 public Object getParameter(String name) throws DOMException { in getParameter()
354 throw new DOMException(DOMException.NOT_FOUND_ERR, "No such parameter: " + name); in getParameter()
458 throw new DOMException(DOMException.NOT_SUPPORTED_ERR,
/libcore/dom/src/test/java/org/w3c/domts/
DJTidyDOMImplementation.java15 import org.w3c.dom.DOMException;
78 String systemId) throws DOMException { in createDocumentType()
79 throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Not Implemented"); in createDocumentType()
119 DocumentType doctype) throws DOMException { in createDocument()
120 throw new DOMException(DOMException.NOT_SUPPORTED_ERR, "Not Implemented"); in createDocument()
/libcore/luni/src/test/java/tests/org/w3c/dom/
DNodeSetPrefix.java31 import org.w3c.dom.DOMException;
135 } catch (DOMException ex) { in testSetPrefix3()
136 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix3()
187 } catch (DOMException ex) { in testSetPrefix5()
188 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix5()
205 } catch (DOMException ex) { in testSetPrefix6()
206 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix6()
222 } catch (DOMException ex) { in testSetPrefix7()
223 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetPrefix7()
242 } catch (DOMException ex) { in testSetPrefix8()
[all …]
DPrefix.java29 import org.w3c.dom.DOMException;
137 } catch (DOMException ex) { in testGetPrefix5()
138 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix5()
155 } catch (DOMException ex) { in _testGetPrefix6()
156 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in _testGetPrefix6()
173 } catch (DOMException ex) { in testGetPrefix7()
174 success = (ex.code == DOMException.NAMESPACE_ERR); in testGetPrefix7()
227 } catch (DOMException ex) { in _testGetPrefix9()
228 success = (ex.code == DOMException.NAMESPACE_ERR); in _testGetPrefix9()
245 } catch (DOMException ex) { in testGetPrefix10()
[all …]
DCreateElementNS.java28 import org.w3c.dom.DOMException;
91 } catch (DOMException ex) { in testCreateElementNS1()
92 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS1()
109 } catch (DOMException ex) { in testCreateElementNS2()
110 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS2()
157 } catch (DOMException ex) { in testCreateElementNS3()
158 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateElementNS3()
175 } catch (DOMException ex) { in testCreateElementNS4()
176 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS4()
205 } catch (DOMException ex) { in testCreateElementNS6()
DCreateAttributeNS.java28 import org.w3c.dom.DOMException;
73 } catch (DOMException ex) { in testCreateAttributeNS1()
74 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS1()
91 } catch (DOMException ex) { in testCreateAttributeNS2()
92 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS2()
138 } catch (DOMException ex) { in testCreateAttributeNS3()
139 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateAttributeNS3()
156 } catch (DOMException ex) { in testCreateAttributeNS4()
157 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS4()
184 } catch (DOMException ex) { in testCreateAttributeNS6()
DElementSetAttributeNS.java10 import org.w3c.dom.DOMException;
142 } catch (DOMException ex) { in testSetAttributeNS4()
143 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testSetAttributeNS4()
162 } catch (DOMException ex) { in testSetAttributeNS5()
163 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNS5()
180 } catch (DOMException ex) { in testSetAttributeNS8()
181 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNS8()
191 } catch (DOMException ex) { in testSetAttributeNS8()
192 success = (ex.code == DOMException.NAMESPACE_ERR); in testSetAttributeNS8()
212 } catch (DOMException ex) { in testSetAttributeNSURINull()
[all …]
DCreateDocument.java30 import org.w3c.dom.DOMException;
97 } catch (DOMException ex) { in testCreateDocument1()
98 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument1()
118 } catch (DOMException ex) { in testCreateDocument2()
119 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument2()
213 } catch (DOMException ex) { in testCreateDocument5()
214 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateDocument5()
234 } catch (DOMException ex) { in testCreateDocument6()
235 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument6()
271 } catch (DOMException ex) { in testCreateDocument8()
DDocumentCreateAttributeNS.java29 import org.w3c.dom.DOMException;
165 } catch (DOMException ex) { in testCreateAttributeNS3()
166 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateAttributeNS3()
195 } catch (DOMException ex) { in testCreateAttributeNS4()
220 } catch (DOMException ex) { in testCreateAttributeNS5()
221 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS5()
244 } catch (DOMException ex) { in testCreateAttributeNS6()
245 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS6()
261 } catch (DOMException ex) { in testCreateAttributeNS7()
262 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateAttributeNS7()
DDocumentCreateElementNS.java5 import org.w3c.dom.DOMException;
91 } catch (DOMException ex) { in testCreateElementNS2()
92 success = (ex.code == DOMException.INVALID_CHARACTER_ERR); in testCreateElementNS2()
109 } catch (DOMException ex) { in testCreateElementNS5()
110 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS5()
133 } catch (DOMException ex) { in testCreateElementNS6()
134 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateElementNS6()
DNamedNodeMapSetNamedItemNS.java30 import org.w3c.dom.DOMException;
152 } catch (DOMException ex) { in testSetNamedItemNS3()
153 success = (ex.code == DOMException.WRONG_DOCUMENT_ERR); in testSetNamedItemNS3()
183 } catch (DOMException ex) { in testSetNamedItemNS4()
184 success = (ex.code == DOMException.WRONG_DOCUMENT_ERR); in testSetNamedItemNS4()
248 } catch (DOMException ex) { in testSetNamedItemNS6()
249 success = (ex.code == DOMException.INUSE_ATTRIBUTE_ERR); in testSetNamedItemNS6()
274 } catch (DOMException ex) { in testSetNamedItemNS7()
275 success = (ex.code == DOMException.INUSE_ATTRIBUTE_ERR); in testSetNamedItemNS7()
300 } catch (DOMException ex) { in testSetNamedItemNS8()
[all …]
DDOMImplementationCreateDocument.java9 import org.w3c.dom.DOMException;
100 } catch (DOMException ex) { in testCreateDocument4()
101 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument4()
121 } catch (DOMException ex) { in testCreateDocument5()
122 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument5()
141 } catch (DOMException ex) { in testCreateDocument7()
142 success = (ex.code == DOMException.NAMESPACE_ERR); in testCreateDocument7()
DElementSetAttributeNodeNS.java29 import org.w3c.dom.DOMException;
154 } catch (DOMException ex) { in testSetAttributeNodeNS3()
155 success = (ex.code == DOMException.INUSE_ATTRIBUTE_ERR); in testSetAttributeNodeNS3()
176 } catch (DOMException ex) { in testSetAttributeNodeNS4()
177 success = (ex.code == DOMException.INUSE_ATTRIBUTE_ERR); in testSetAttributeNodeNS4()
198 } catch (DOMException ex) { in testSetAttributeNodeNS5()
199 success = (ex.code == DOMException.WRONG_DOCUMENT_ERR); in testSetAttributeNodeNS5()
227 } catch (DOMException ex) { in _testSetAttributeNodeNS6()
228 success = (ex.code == DOMException.NO_MODIFICATION_ALLOWED_ERR); in _testSetAttributeNodeNS6()
/libcore/luni/src/main/java/org/w3c/dom/ls/
DLSParser.java16 import org.w3c.dom.DOMException;
316 throws DOMException, LSException; in parse()
340 throws DOMException, LSException; in parseURI()
457 throws DOMException, LSException; in parseWithContext()
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
Delementsetattributens08.java78 } catch (DOMException ex) { in runTest()
79 success = (ex.code == DOMException.NAMESPACE_ERR); in runTest()
88 } catch (DOMException ex) { in runTest()
89 success = (ex.code == DOMException.NAMESPACE_ERR); in runTest()

1234567891011