/libcore/luni/src/main/java/javax/xml/xpath/ |
H A D | XPathFunctionResolver.java | 21 import javax.xml.namespace.QName; 31 * namespace (functions with an explicit prefix). This means that you cannot 35 * same namespace. This is a consequence of the design of the resolver.</p>
|
H A D | XPathVariableResolver.java | 21 import javax.xml.namespace.QName;
|
H A D | XPathConstants.java | 21 import javax.xml.namespace.QName;
|
H A D | XPath.java | 21 import javax.xml.namespace.NamespaceContext; 22 import javax.xml.namespace.QName; 66 * QNames in the expression are resolved against the XPath namespace context 144 * <p>Establish a namespace context.</p> 155 * <p>Return the current namespace context.</p> 157 * <p><code>null</code> is returned in no namespace context is in effect.</p>
|
H A D | XPathExpression.java | 21 import javax.xml.namespace.QName; 63 * QNames in the expression are resolved against the XPath namespace context.
|
/libcore/luni/src/main/java/javax/xml/namespace/ |
H A D | NamespaceContext.java | 20 package javax.xml.namespace; 112 * ("http://www.w3.org/XML/1998/namespace")</td> 173 * ("http://www.w3.org/XML/1998/namespace")</td> 234 * ("http://www.w3.org/XML/1998/namespace")</td>
|
H A D | QName.java | 20 package javax.xml.namespace; 72 * <code>org.apache.xml.namespace.QName.useCompatibleSerialVersionUID</code> 89 String compatPropValue = System.getProperty("org.apache.xml.namespace.QName.useCompatibleSerialVersionUID");
|
/libcore/luni/src/test/java/libcore/xml/ |
H A D | NamespacedAttributesLookupTest.java | 33 * names for different combinations of namespaces and namespace prefixes. 40 "http://xml.org/sax/features/namespace-prefixes"; 67 boolean namespace = true; 69 assertEquals(expected, getStartElements(xml, namespace, namespacePrefixes)); 94 boolean namespace = false; 96 assertEquals(expected, getStartElements(xml, namespace, namespacePrefixes)); 99 public List<String> getStartElements(String xml, final boolean namespace, boolean namespacePrefixes) argument 103 reader.setFeature(SAX_PROPERTY_NS, namespace); 113 if (namespace) { 121 if (namespace) { [all...] |
H A D | JaxenXPathTestSuite.java | 29 import javax.xml.namespace.QName;
|
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlSerializer.java | 77 throw new IllegalStateException("Cannot set default namespace for elements in no namespace"); 185 public String getPrefix(String namespace, boolean create) { argument 187 return getPrefix(namespace, false, create); 195 String namespace, 203 if (nspStack[i + 1].equals(namespace) 224 if (namespace.isEmpty()) 243 setPrefix(prefix, namespace); 271 public void setPrefix(String prefix, String namespace) argument 277 if (namespace 194 getPrefix( String namespace, boolean includeDefault, boolean create) argument 366 startTag(String namespace, String name) argument 419 attribute( String namespace, String name, String value) argument 481 endTag(String namespace, String name) argument [all...] |
H A D | KXmlParser.java | 127 * without namespace adjustments. This map is created lazily. 158 private String namespace; field in class:KXmlParser 168 * i + 0 = attribute namespace URI 169 * i + 1 = attribute namespace prefix 182 * Retains namespace attributes like {@code xmlns="http://foo"} or {@code xmlns:foo="http:foo"} 185 * DOM, it is necessary to keep the namespace data around. 219 checkRelaxed("illegal empty namespace"); 223 // explicitly set the namespace for unprefixed attributes 279 this.namespace = getNamespace(prefix); 281 if (this.namespace 2021 getAttributeValue(String namespace, String name) argument 2051 require(int type, String namespace, String name) argument [all...] |
/libcore/xml/src/main/java/org/xmlpull/v1/ |
H A D | XmlSerializer.java | 121 * Binds the given prefix to the given namespace. 123 * The prefix and namespace MUST be always declared even if prefix 125 * it must result in declaring <code>xmlns:prefix='namespace'</code> 126 * (or <code>xmlns:prefix="namespace"</code> depending what character is used 134 * <p><b>NOTE:</b> to set default namespace use as prefix empty string. 137 * @param namespace must be not null 139 void setPrefix (String prefix, String namespace) argument 143 * Return namespace that corresponds to given prefix 144 * If there is no prefix bound to this namespace return null 147 * <p><b>NOTE:</b> if the prefix is empty string "" and default namespace i 154 getPrefix(String namespace, boolean generatePrefix) argument 209 startTag(String namespace, String name) argument 219 attribute(String namespace, String name, String value) argument 230 endTag(String namespace, String name) argument [all...] |
H A D | XmlPullParser.java | 143 /** This constant represents the default namespace (empty string "") */ 177 * The name of start tag is available from getName(), its namespace and prefix are 200 * namespace and prefix are 346 // namespace related features 361 * This feature determines whether namespace attributes are 370 "http://xmlpull.org/v1/doc/features.html#report-namespace-prefixes"; 409 * such as namespace processing or doctype declaration handling. 413 * to switch on namespace processing. The initial settings correspond 541 * Returns the numbers of elements in the namespace stack for the given 546 * this function with getDepth()+1 argument to retrieve position of namespace 900 getAttributeValue(String namespace, String name) argument 1048 require(int type, String namespace, String name) argument [all...] |
/libcore/luni/src/main/java/javax/xml/datatype/ |
H A D | DatatypeConstants.java | 23 import javax.xml.namespace.QName;
|
H A D | XMLGregorianCalendar.java | 26 import javax.xml.namespace.QName;
|
H A D | Duration.java | 27 import javax.xml.namespace.QName;
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
H A D | DocumentBuilderImpl.java | 258 * depending on whether the parser is namespace-aware or not. 262 String namespace = parser.getNamespace(); 266 if ("".equals(namespace)) { 267 namespace = null; 271 Element element = document.createElementNS(namespace, name); 298 parser.require(XmlPullParser.END_TAG, namespace, name); 385 * Controls whether this DocumentBuilder is namespace-aware.
|
/libcore/xml/src/main/java/org/xmlpull/v1/sax2/ |
H A D | Driver.java | 57 "http://xml.org/sax/features/namespace-prefixes"; 465 protected void startElement(String namespace, String localName, String qName) throws SAXException { argument 466 contentHandler.startElement(namespace, localName, qName, this);
|