/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 | XmlPullParserFactoryTest.java | 167 public void setPrefix(String prefix, String namespace) throws IOException { argument 170 public String getPrefix(String namespace, boolean generatePrefix) throws IllegalArgumentException { argument 186 public XmlSerializer startTag(String namespace, String name) throws IOException { argument 190 public XmlSerializer attribute(String namespace, String name, String value) throws IOException { argument 194 public XmlSerializer endTag(String namespace, String name) throws IOException { argument 346 public String getAttributeValue(String namespace, String name) { argument 362 public void require(int type, String namespace, String name) argument
|
H A D | JaxenXPathTestSuite.java | 29 import javax.xml.namespace.QName;
|
/libcore/xml/src/main/java/org/kxml2/io/ |
H A D | KXmlSerializer.java | 107 throw new IllegalStateException("Cannot set default namespace for elements in no namespace"); 223 public String getPrefix(String namespace, boolean create) { argument 225 return getPrefix(namespace, false, create); 233 String namespace, 241 if (nspStack[i + 1].equals(namespace) 262 if (namespace.isEmpty()) 281 setPrefix(prefix, namespace); 309 public void setPrefix(String prefix, String namespace) argument 315 if (namespace 232 getPrefix( String namespace, boolean includeDefault, boolean create) argument 396 startTag(String namespace, String name) argument 449 attribute( String namespace, String name, String value) argument 511 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 171 * i + 0 = attribute namespace URI 172 * i + 1 = attribute namespace prefix 185 * Retains namespace attributes like {@code xmlns="http://foo"} or {@code xmlns:foo="http:foo"} 188 * DOM, it is necessary to keep the namespace data around. 222 checkRelaxed("illegal empty namespace"); 226 // explicitly set the namespace for unprefixed attributes 282 this.namespace = getNamespace(prefix); 284 if (this.namespace 2032 getAttributeValue(String namespace, String name) argument 2062 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 | 259 * depending on whether the parser is namespace-aware or not. 263 String namespace = parser.getNamespace(); 267 if ("".equals(namespace)) { 268 namespace = null; 272 Element element = document.createElementNS(namespace, name); 299 parser.require(XmlPullParser.END_TAG, namespace, name); 386 * 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);
|
/libcore/ |
H A D | non_openjdk_java_files.mk | 101 luni/src/main/java/javax/xml/namespace/NamespaceContext.java \ 102 luni/src/main/java/javax/xml/namespace/QName.java \
|