HomeSort by relevance Sort by last modified time
    Searched refs:QName (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /external/webrtc/webrtc/libjingle/xmllite/
qname.cc 11 #include "webrtc/libjingle/xmllite/qname.h"
15 QName::QName() {
18 QName::QName(const QName& qname)
19 : namespace_(qname.namespace_),
20 local_part_(qname.local_part_) {
23 QName::QName(const StaticQName& const_value
    [all...]
qname.h 18 class QName;
24 // Beside this use case, QName should be used everywhere
25 // else. StaticQName instances are implicitly converted to QName
31 bool operator==(const QName& other) const;
32 bool operator!=(const QName& other) const;
35 class QName {
37 QName();
38 QName(const QName& qname);
    [all...]
xmlelement_unittest.cc 19 using buzz::QName;
24 std::ostream& operator<<(std::ostream& os, const QName& name) {
30 XmlElement elt(QName("google:test", "first"));
33 XmlElement elt2(QName("google:test", "first"), true);
38 XmlElement elt(QName("google:test", "root"), true);
39 elt.AddElement(new XmlElement(QName("google:test", "first")));
40 elt.AddElement(new XmlElement(QName("google:test", "nested")), 1);
44 elt.AddElement(new XmlElement(QName("google:test", "nested2")), 1);
45 elt.AddElement(new XmlElement(QName("google:test", "second")));
47 elt.AddElement(new XmlElement(QName("google:test", "nested3")), 1)
    [all...]
qname_unittest.cc 12 #include "webrtc/libjingle/xmllite/qname.h"
16 using buzz::QName;
19 QName name("test");
25 QName name("a:test");
28 QName name2("a-very:long:namespace:test-this");
34 QName name("a", "test");
38 QName name2("a-very:long:namespace", "test-this");
45 QName name("a", "test");
47 QName namecopy(name);
50 QName nameassigned("")
    [all...]
xmlprinter_unittest.cc 16 #include "webrtc/libjingle/xmllite/qname.h"
22 using buzz::QName;
28 XmlElement elt(QName("google:test", "first"));
35 XmlElement elt(QName("google:test", "first"));
36 elt.AddElement(new XmlElement(QName("nested:test", "second")));
xmlelement.h 17 #include "webrtc/libjingle/xmllite/qname.h"
94 const QName& Name() const { return name_; }
100 explicit XmlAttr(const QName& name, const std::string& value) :
112 QName name_;
118 explicit XmlElement(const QName& name);
119 explicit XmlElement(const QName& name, bool useDefaultNs);
124 const QName& Name() const { return name_; }
125 void SetName(const QName& name) { name_ = name; }
130 const QName FirstElementName() const;
139 const std::string Attr(const QName& name) const
    [all...]
xmlbuilder.cc 37 QName tagName(pctx->ResolveQName(name, false));
46 std::set<QName> seenNonlocalAtts;
49 QName attName(pctx->ResolveQName(*atts, true));
xmlelement.cc 18 #include "webrtc/libjingle/xmllite/qname.h"
57 XmlElement::XmlElement(const QName& name) :
105 XmlElement::XmlElement(const QName& name, bool useDefaultNs) :
147 const QName XmlElement::FirstElementName() const {
150 return QName();
167 const std::string XmlElement::Attr(const QName& name) const {
185 bool XmlElement::HasAttr(const QName& name) const {
194 void XmlElement::SetAttr(const QName& name, const std::string& value) {
212 void XmlElement::ClearAttr(const QName& name) {
273 XmlElement::FirstNamed(const QName& name)
    [all...]
xmlnsstack_unittest.cc 23 using buzz::QName;
221 stack.FormatQName(QName("ns1", "zip"), false)); // no match
223 stack.FormatQName(QName("ns2", "abracadabra"), false));
225 stack.FormatQName(QName("ns3", "a"), false));
227 stack.FormatQName(QName("ns4", "simple"), false));
229 stack.FormatQName(QName("", "root"), false)); // no match
232 stack.FormatQName(QName("ns1", "zip"), true)); // no match
234 stack.FormatQName(QName("ns2", "abracadabra"), true));
236 stack.FormatQName(QName("ns3", "a"), true));
238 stack.FormatQName(QName("ns4", "simple"), true)); // no matc
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/
Arg.java 23 import org.apache.xml.utils.QName;
35 /** Field m_qname: The name of this argument, expressed as a QName
40 private QName m_qname;
45 * @return QName object containing the qualified name
47 public final QName getQName()
55 * @param name QName object representing the new Qualified Name.
57 public final void setQName(QName name)
175 * Construct a dummy parameter argument, with no QName and no
182 m_qname = new QName("");
193 * @param qname Name of the argument, expressed as a QName object
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
QName.java 15 public class QName
24 * Splits a qname into prefix and localname.
25 * @param qname a QName
27 public QName(String qname)
29 int colon = qname.indexOf(':');
33 prefix = qname.substring(0, colon);
34 localName = qname.substring(colon + 1);
39 localName = qname;
    [all...]
  /external/apache-xml/src/main/java/org/apache/xalan/templates/
ElemUse.java 30 import org.apache.xml.utils.QName;
48 private QName m_attributeSetsNames[] = null;
56 * sets. Each name is specified as a QName, which is expanded as
66 m_attributeSetsNames = new QName[n];
70 m_attributeSetsNames[i] = (QName) v.elementAt(i);
80 * sets. Each name is specified as a QName, which is expanded as
85 public void setUseAttributeSets(QName[] v)
98 * sets. Each name is specified as a QName, which is expanded as
103 public QName[] getUseAttributeSets()
141 TransformerImpl transformer, StylesheetRoot stylesheet, QName attributeSetsNames[]
151 QName qname = attributeSetsNames[i]; local
    [all...]
VarNameCollector.java 25 import org.apache.xml.utils.QName;
61 boolean doesOccur(QName refName)
OutputProperties.java 35 import org.apache.xml.utils.QName;
118 public void setProperty(QName key, String value)
153 public String getProperty(QName key)
182 public void setBooleanProperty(QName key, boolean value)
210 public boolean getBooleanProperty(QName key)
238 public void setIntProperty(QName key, int value)
266 public int getIntProperty(QName key)
289 * Set an output property with a QName value. The QName will be turned
296 public void setQNameProperty(QName key, QName value
427 QName qname = (QName) v.elementAt(i); local
507 QName qname = QName.getQNameFromString(buf.toString()); local
524 QName qname = QName.getQNameFromString(buf.toString()); local
    [all...]
ElemAttributeSet.java 28 import org.apache.xml.utils.QName;
35 * name %qname; #REQUIRED
50 public QName m_qname = null;
58 public void setName(QName name)
69 public QName getName()
134 * name %qname; #REQUIRED
KeyDeclaration.java 23 import org.apache.xml.utils.QName;
55 private QName m_name;
60 * of the name attribute is a QName, which is expanded as
65 public void setName(QName name)
73 * of the name attribute is a QName, which is expanded as
78 public QName getName()
ElemTemplate.java 27 import org.apache.xml.utils.QName;
43 * name %qname; #IMPLIED
45 * mode %qname; #IMPLIED
196 private QName m_name = null;
207 public void setName(QName v)
221 public QName getName()
231 private QName m_mode;
242 public void setMode(QName v)
256 public QName getMode()
333 * qname identifiers for the arguments. The position of a given qname
    [all...]
DecimalFormatProperties.java 25 import org.apache.xml.utils.QName;
32 * name %qname; #IMPLIED
79 * attribute is a QName, which is expanded as described in [2.4 Qualified Names].
101 private QName m_qname = null;
108 * @param qname The name to set as the "name" attribute.
110 public void setName(QName qname)
112 m_qname = qname;
122 public QName getName()
126 return new QName("");
    [all...]
TemplateSubPatternAssociation.java 27 import org.apache.xml.utils.QName;
121 boolean matchMode(QName m1)
134 private boolean matchModes(QName m1, QName m2)
151 public boolean matches(XPathContext xctxt, int targetNode, QName mode)
ElemElement.java 28 import org.apache.xml.utils.QName;
54 * attribute value template is not a QName.
63 * attribute value template is not a QName.
76 * attribute value template is not a QName.
227 prefix = QName.getPrefixPart(nodeName);
245 nodeName = (prefix + ":" + QName.getLocalPart(nodeName));
247 nodeName = QName.getLocalPart(nodeName);
327 rhandler.startElement(nodeNamespace, QName.getLocalPart(nodeName),
340 rhandler.endElement(nodeNamespace, QName.getLocalPart(nodeName),
ElemWithParam.java 27 import org.apache.xml.utils.QName;
40 * name %qname; #REQUIRED
90 * to be replaced). The value of the name attribute is a QName,
94 private QName m_qname = null;
104 public void setName(QName v)
115 public QName getName()
  /external/apache-xml/src/main/java/org/apache/xml/utils/
QName.java 19 * $Id: QName.java 468655 2006-10-28 07:12:06Z minchau $
36 * [12 Variables and Parameters]) is specified as a QName. If it has a prefix,
44 public class QName implements java.io.Serializable
79 * Constructs an empty QName.
82 public QName(){}
85 * Constructs a new QName with the specified namespace URI and
91 public QName(String namespaceURI, String localName)
97 * Constructs a new QName with the specified namespace URI and
102 * @param validate If true the new QName will be validated and an IllegalArgumentException will
105 public QName(String namespaceURI, String localName, boolean validate)
611 QName qname = (QName) object; local
636 QName qname; local
    [all...]
  /external/apache-xml/src/main/java/org/apache/xpath/jaxp/
JAXPVariableStack.java 25 import org.apache.xml.utils.QName;
49 public XObject getVariableOrParam(XPathContext xctxt, QName qname)
51 if ( qname == null ) {
56 new Object[] {"Variable qname"} );
59 javax.xml.namespace.QName name =
60 new javax.xml.namespace.QName(
61 qname.getNamespace(),
62 qname.getLocalPart());
  /external/apache-xml/src/main/java/org/apache/xalan/transformer/
KeyIterator.java 32 import org.apache.xml.utils.QName;
48 private QName m_name;
56 public QName getName()
81 KeyIterator(QName name, Vector keyDeclarations)
107 QName name = ki.getName();
  /external/apache-xml/src/main/java/org/apache/xalan/processor/
ProcessorOutputElem.java 29 import org.apache.xml.utils.QName;
112 public void setMethod(org.apache.xml.utils.QName newValue)
153 QName key = new QName(attrUri, attrLocalName);
163 QName key = new QName(attrUri, attrLocalName);

Completed in 442 milliseconds

1 2 3 4