Searched refs:qualifiedName (Results 1 - 25 of 78) sorted by relevance

1234

/libcore/luni/src/main/java/org/apache/harmony/xml/dom/
H A DDocumentTypeImpl.java36 private String qualifiedName; field in class:DocumentTypeImpl
42 public DocumentTypeImpl(DocumentImpl document, String qualifiedName, argument
46 if (qualifiedName == null || "".equals(qualifiedName)) {
47 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName);
50 int prefixSeparator = qualifiedName.lastIndexOf(":");
52 String prefix = qualifiedName.substring(0, prefixSeparator);
53 String localName = qualifiedName.substring(prefixSeparator + 1);
56 throw new DOMException(DOMException.NAMESPACE_ERR, qualifiedName);
60 throw new DOMException(DOMException.INVALID_CHARACTER_ERR, qualifiedName);
[all...]
H A DDOMImplementationImpl.java42 public Document createDocument(String namespaceURI, String qualifiedName, argument
44 return new DocumentImpl(this, namespaceURI, qualifiedName, doctype, null);
47 public DocumentType createDocumentType(String qualifiedName, argument
49 return new DocumentTypeImpl(null, qualifiedName, publicId, systemId);
/libcore/luni/src/main/java/org/w3c/dom/
H A DDOMImplementation.java37 * @param qualifiedName The qualified name of the document type to be
46 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is
53 public DocumentType createDocumentType(String qualifiedName, argument
73 * @param qualifiedName The qualified name of the document element to be
80 * If the <code>NamespaceURI</code>, <code>qualifiedName</code>, and
86 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is
87 * malformed, if the <code>qualifiedName</code> has a prefix and the
89 * <code>qualifiedName</code> is <code>null</code> and the
91 * if the <code>qualifiedName</code> has a prefix that is "xml" and
106 String qualifiedName,
105 createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) argument
[all...]
/libcore/dom/src/test/java/org/w3c/domts/level2/core/
H A DcreateAttributeNS05.java34 * The "createAttributeNS(namespaceURI,qualifiedName)" method for a
38 * Invoke method createAttributeNS(namespaceURI,qualifiedName) on this document with
68 String qualifiedName = "econm:local";
73 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName);
75 assertEquals("throw_Equals", qualifiedName, attrName);
H A DcreateElementNS05.java34 * The "createElementNS(namespaceURI,qualifiedName)" method for a
38 * Invoke method createElementNS(namespaceURI,qualifiedName on this document
39 * with namespaceURI as "http://www.nist.gov" and qualifiedName as "gov:faculty".
68 String qualifiedName = "gov:faculty";
73 newElement = doc.createElementNS(namespaceURI, qualifiedName);
75 assertEquals("throw_Equals", qualifiedName, elementName);
H A DcreateAttributeNS02.java34 * The "createAttributeNS(namespaceURI,qualifiedName)" method for a
36 * if qualifiedName has a prefix and namespaceURI is null.
38 * Invoke method createAttributeNS(namespaceURI,qualifiedName) on this document
39 * with namespaceURI being null and qualifiedName contains the prefix "person".
71 String qualifiedName = "prefix:local";
79 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName);
H A DcreateAttributeNS04.java34 * The "createAttributeNS(namespaceURI,qualifiedName)" method for a
36 * if qualifiedName has the "xml" prefix and namespaceURI is different
39 * Invoke method createAttributeNS(namespaceURI,qualifiedName) on this document
40 * with qualifiedName being "xml:attr1 and namespaceURI equals
73 String qualifiedName = "xml:attr1";
81 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName);
H A DcreateDocument02.java34 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a
36 * if qualifiedName has a prefix and namespaceURI is null.
38 * Invoke method createDocument(namespaceURI,qualifiedName,doctype) on
39 * this domimplementation with namespaceURI being null and qualifiedName
71 String qualifiedName = "k:local";
83 aNewDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
H A DcreateDocument03.java34 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a
38 * Invoke method createDocument(namespaceURI,qualifiedName,doctype) on
70 String qualifiedName = "namespaceURI:x";
82 aNewDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
H A DcreateDocument06.java34 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a
36 * if qualifiedName has the "xml" prefix and namespaceURI different from
39 * Invoke method createDocument(namespaceURI,qualifiedName,doctype) on
40 * this domimplementation with qualifiedName "xml:local"
74 String qualifiedName = "xml:local";
86 aNewDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
H A DcreateDocument07.java34 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a
39 * Invoke method createDocument(namespaceURI,qualifiedName,doctype) on
41 * qualifiedName is "y:x" and doctype is null.
70 String qualifiedName = "y:x";
80 aNewDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
H A DcreateElementNS02.java34 * The "createElementNS(namespaceURI,qualifiedName)" method for a
36 * qualifiedName has a prefix and namespaceURI is null.
38 * Invoke method createElementNS(namespaceURI,qualifiedName) on this document
39 * with namespaceURI being null and qualifiedName being "elem:attr1".
71 String qualifiedName = "prefix:local";
79 newElement = doc.createElementNS(namespaceURI, qualifiedName);
H A DcreateElementNS04.java34 * The "createElementNS(namespaceURI,qualifiedName") method for
36 * qualifiedName has an "xml" prefix and the namespaceURI is different
39 * Invoke method createElementNS(namespaceURI,qualifiedName) on this document
40 * with qualifiedName being "xml:element1" and namespaceURI equals the string
73 String qualifiedName = "xml:element1";
81 newElement = doc.createElementNS(namespaceURI, qualifiedName);
H A DdocumentcreateattributeNS01.java37 * namespaceURI, and a qualifiedName without a prefix. This should return a valid Attr
70 String qualifiedName = "test";
75 attribute = doc.createAttributeNS(namespaceURI, qualifiedName);
H A DdocumentcreateattributeNS07.java47 * The method createAttributeNS raises a NAMESPACE_ERR if the qualifiedName is xmlns and
51 * the qualifiedName as xmlns and namespaceURI as http://www.W3.org/2000/xmlns.
83 String qualifiedName = "xmlns";
89 attribute = doc.createAttributeNS(namespaceURI, qualifiedName);
H A DdocumentcreateelementNS02.java47 * The method createElementNS creates an element of the given valid qualifiedName and NamespaceURI.
50 * and a qualifiedName with an invalid character and check if an INVALID_CHARACTER_ERR is thrown.
82 String qualifiedName = "^^";
88 element = doc.createElementNS(namespaceURI, qualifiedName);
H A DdocumentcreateelementNS05.java47 * The method createElementNS raises a NAMESPACE_ERR if the qualifiedName has a prefix and
51 * namespaceURI, and a valid qualifiedName. Check if a NAMESPACE_ERR is thrown.
83 String qualifiedName = "null:xml";
89 element = doc.createElementNS(namespaceURI, qualifiedName);
H A Ddomimplementationcreatedocument04.java47 * The createDocument method should throw a NAMESPACE_ERR if the qualifiedName has
51 * qualifiedName that has a namespace prefix using this DOMImplementation.
85 String qualifiedName = "dom:root";
94 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
H A Ddomimplementationcreatedocument05.java47 * The createDocument method should throw a NAMESPACE_ERR if the qualifiedName has
52 * http://www.w3.org/xml/1998/namespace and a qualifiedName that has the prefix xml
84 String qualifiedName = "xml:root";
93 newDoc = domImpl.createDocument(namespaceURI, qualifiedName, docType);
/libcore/luni/src/test/java/tests/org/w3c/dom/
H A DDocumentCreateElementNS.java13 * qualifiedName and NamespaceURI.
16 * namespaceURI and qualifiedName. Check if a valid Element object is returned
59 String qualifiedName = "XML:XML";
66 element = doc.createElementNS(namespaceURI, qualifiedName);
84 String qualifiedName = "^^";
90 doc.createElementNS(namespaceURI, qualifiedName);
102 String qualifiedName = "null:xml";
108 doc.createElementNS(namespaceURI, qualifiedName);
123 String qualifiedName = "xml:root";
132 newDoc.createElementNS(namespaceURI, qualifiedName);
[all...]
H A DDOMImplementationCreateDocument.java62 String qualifiedName;
78 qualifiedName = (String) qualifiedNames.get(indexN1006B);
79 newDoc = domImpl.createDocument(namespaceURI, qualifiedName,
90 String qualifiedName = "dom:root";
99 domImpl.createDocument(namespaceURI, qualifiedName, docType);
111 String qualifiedName = "xml:root";
120 domImpl.createDocument(namespaceURI, qualifiedName, docType);
H A DCreateAttributeNS.java82 String qualifiedName = "prefix:local";
90 doc.createAttributeNS(namespaceURI, qualifiedName);
99 String qualifiedName;
133 qualifiedName = (String) illegalQNames.get(indexN10090);
137 doc.createAttributeNS(namespaceURI, qualifiedName);
147 String qualifiedName = "xml:attr1";
155 doc.createAttributeNS(namespaceURI, qualifiedName);
164 String qualifiedName = "econm:local";
169 newAttr = doc.createAttributeNS(namespaceURI, qualifiedName);
171 assertEquals("throw_Equals", qualifiedName, attrNam
[all...]
H A DCreateElementNS.java34 * The "createElementNS(namespaceURI,qualifiedName)" method for a Document
35 * should raise NAMESPACE_ERR DOMException if qualifiedName is malformed.
37 * Invoke method createElementNS(namespaceURI,qualifiedName) on the XMLNS
39 * "http://www.ecommerce.org/", and qualifiedName as "prefix::local". Method
100 String qualifiedName = "prefix:local";
108 doc.createElementNS(namespaceURI, qualifiedName);
117 String qualifiedName;
151 qualifiedName = (String) illegalQNames.get(indexN10098);
156 doc.createElementNS(namespaceURI, qualifiedName);
166 String qualifiedName
[all...]
H A DDocumentCreateAttributeNS.java40 * namespaceURI, and a qualifiedName without a prefix. This should return a
84 String qualifiedName = "test";
89 attribute = doc.createAttributeNS(namespaceURI, qualifiedName);
145 String qualifiedName;
159 qualifiedName = (String) qualifiedNames.get(indexN1005A);
164 doc.createAttributeNS(namespaceURI, qualifiedName);
176 String qualifiedName;
186 qualifiedName = (String) qualifiedNames.get(indexN1004E);
193 doc.createAttributeNS(namespaceURI, qualifiedName);
210 String qualifiedName
[all...]
/libcore/dom/src/test/java/org/w3c/domts/
H A DJTidyDOMImplementation.java57 * @param qualifiedName The qualified name of the document type to be
66 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is
76 public DocumentType createDocumentType(String qualifiedName, argument
87 * @param qualifiedName The qualified name of the document element to be
97 * <br>NAMESPACE_ERR: Raised if the <code>qualifiedName</code> is
98 * malformed, if the <code>qualifiedName</code> has a prefix and the
100 * <code>qualifiedName</code> has a prefix that is "xml" and the
118 String qualifiedName,
117 createDocument(String namespaceURI, String qualifiedName, DocumentType doctype) argument

Completed in 637 milliseconds

1234