HomeSort by relevance Sort by last modified time
    Searched full:qualifiedname (Results 1 - 25 of 605) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/org/apache/harmony/xml/dom/
DocumentTypeImpl.java 36 private String qualifiedName;
42 public DocumentTypeImpl(DocumentImpl document, String qualifiedName,
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...]
  /external/chromium_org/third_party/WebKit/Source/core/dom/
QualifiedName.cpp 33 #include "core/dom/QualifiedName.h"
47 struct QualifiedNameHashTraits : public HashTraits<QualifiedName::QualifiedNameImpl*> {
51 typedef HashSet<QualifiedName::QualifiedNameImpl*, QualifiedNameHash, QualifiedNameHashTraits> QualifiedNameCache;
66 static bool equal(QualifiedName::QualifiedNameImpl* name, const QualifiedNameComponents& c)
70 static void translate(QualifiedName::QualifiedNameImpl*& location, const QualifiedNameComponents& components, unsigned)
72 location = QualifiedName::QualifiedNameImpl::create(AtomicString(components.m_prefix), AtomicString(components.m_localName), AtomicString(components.m_namespace)).leakRef();
76 QualifiedName::QualifiedName(const AtomicString& p, const AtomicString& l, const AtomicString& n)
85 QualifiedName::~QualifiedName()
    [all...]
QualifiedName.h 38 class QualifiedName {
69 QualifiedName(const AtomicString& prefix, const AtomicString& localName, const AtomicString& namespaceURI);
70 QualifiedName(WTF::HashTableDeletedValueType) : m_impl(hashTableDeletedValue()) { }
72 ~QualifiedName();
74 QualifiedName() : m_impl(0) { }
77 QualifiedName(const QualifiedName& other) : m_impl(other.m_impl) { ref(); }
78 const QualifiedName& operator=(const QualifiedName& other) { other.ref(); deref(); m_impl = other.m_impl; return *this; }
80 bool operator==(const QualifiedName& other) const { return m_impl == other.m_impl;
    [all...]
Attribute.h 28 #include "core/dom/QualifiedName.h"
37 Attribute(const QualifiedName& name, const AtomicString& value)
51 const QualifiedName& name() const { return m_name; }
54 bool matches(const QualifiedName&) const;
62 void parserSetName(const QualifiedName& name) { m_name = name; }
71 QualifiedName m_name;
75 inline bool Attribute::matches(const QualifiedName& qualifiedName) const
77 if (qualifiedName.localName() != localName())
79 return qualifiedName.prefix() == starAtom || qualifiedName.namespaceURI() == namespaceURI()
    [all...]
Attr.h 29 #include "core/dom/QualifiedName.h"
45 static PassRefPtr<Attr> create(Element&, const QualifiedName&);
46 static PassRefPtr<Attr> create(Document&, const QualifiedName&, const AtomicString& value);
49 String name() const { return qualifiedName().toString(); }
57 const QualifiedName& qualifiedName() const { return m_name; }
71 Attr(Element&, const QualifiedName&);
72 Attr(Document&, const QualifiedName&, const AtomicString& value);
93 QualifiedName m_name;
Attr.cpp 41 Attr::Attr(Element& element, const QualifiedName& name)
50 Attr::Attr(Document& document, const QualifiedName& name, const AtomicString& standaloneValue)
60 PassRefPtr<Attr> Attr::create(Element& element, const QualifiedName& name)
67 PassRefPtr<Attr> Attr::create(Document& document, const QualifiedName& name, const AtomicString& value)
106 if (this->qualifiedName() == xmlnsAtom) {
136 m_element->willModifyAttribute(qualifiedName(), this->value(), value);
141 m_element->didModifyAttribute(qualifiedName(), value);
151 RefPtr<Attr> clone = adoptRef(new Attr(document(), qualifiedName(), value()));
167 invalidateNodeListCachesInAncestors(&qualifiedName(), m_element);
177 m_element->willModifyAttribute(qualifiedName(), value(), newValue)
    [all...]
Element.h 82 static PassRefPtr<Element> create(const QualifiedName&, Document*);
101 bool hasAttribute(const QualifiedName&) const;
102 const AtomicString& getAttribute(const QualifiedName&) const;
103 void setAttribute(const QualifiedName&, const AtomicString& value);
104 void setSynchronizedLazyAttribute(const QualifiedName&, const AtomicString& value);
105 void removeAttribute(const QualifiedName&);
108 int getIntegralAttribute(const QualifiedName& attributeName) const;
109 void setIntegralAttribute(const QualifiedName& attributeName, int value);
110 unsigned getUnsignedIntegralAttribute(const QualifiedName& attributeName) const;
111 void setUnsignedIntegralAttribute(const QualifiedName& attributeName, unsigned value)
    [all...]
  /external/chromium_org/third_party/WebKit/Source/build/scripts/templates/
MakeQualifiedNames.h.tmpl 7 #include "core/dom/QualifiedName.h"
18 extern const WebCore::QualifiedName {{tag|symbol}}Tag;
23 extern const WebCore::QualifiedName {{attr|symbol}}Attr;
30 const WebCore::QualifiedName* const* get{{namespace}}Tags();
33 const WebCore::QualifiedName* const* get{{namespace}}Attrs();
MakeQualifiedNames.cpp.tmpl 27 DEFINE_GLOBAL(QualifiedName, {{tag|symbol}}Tag)
31 const WebCore::QualifiedName* const* get{{namespace}}Tags()
33 static const WebCore::QualifiedName* const {{namespace}}Tags[] = {
35 (WebCore::QualifiedName*)&{{tag|symbol}}Tag,
45 DEFINE_GLOBAL(QualifiedName, {{attr|symbol}}Attr)
48 const WebCore::QualifiedName* const* get{{namespace}}Attrs()
50 static const WebCore::QualifiedName* const {{namespace}}Attrs[] = {
52 (WebCore::QualifiedName*)&{{attr|symbol}}Attr,
  /external/chromium_org/third_party/WebKit/Source/core/svg/properties/
SVGAttributeToPropertyMap.h 34 typedef HashMap<QualifiedName, OwnPtr<PropertiesVector> > AttributeToPropertiesMap;
44 void animatedPropertiesForAttribute(SVGElement* contextElement, const QualifiedName& attributeName, Vector<RefPtr<SVGAnimatedProperty> >&);
45 void animatedPropertyTypeForAttribute(const QualifiedName& attributeName, Vector<AnimatedPropertyType>&);
48 bool synchronizeProperty(SVGElement* contextElement, const QualifiedName& attributeName);
51 PropertiesVector* getOrCreatePropertiesVector(const QualifiedName&);
52 void synchronizeProperty(SVGElement* contextElement, const QualifiedName& attributeName, const SVGPropertyInfo*);
53 PassRefPtr<SVGAnimatedProperty> animatedProperty(SVGElement* contextElement, const QualifiedName& attributeName, const SVGPropertyInfo*);
  /external/chromium_org/third_party/WebKit/Source/core/svg/
SVGElement.h 46 void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyNameToIdMap, const QualifiedName& attrName);
58 static bool isAnimatableCSSProperty(const QualifiedName&);
92 virtual void svgAttributeChanged(const QualifiedName&);
94 virtual void animatedPropertyTypeForAttribute(const QualifiedName&, Vector<AnimatedPropertyType>&);
117 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const;
130 bool isAnimatableAttribute(const QualifiedName&) const;
150 SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement);
152 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
155 virtual void attributeChanged(const QualifiedName&, const AtomicString&, AttributeModificationReason = ModifiedDirectly) OVERRIDE;
158 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE
    [all...]
SVGTextPositioningElement.h 35 SVGTextPositioningElement(const QualifiedName&, Document&);
37 bool isSupportedAttribute(const QualifiedName&);
38 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
39 virtual void svgAttributeChanged(const QualifiedName&);
SVGFEDiffuseLightingElement.h 37 void lightElementAttributeChanged(const SVGFELightElement*, const QualifiedName&);
42 bool isSupportedAttribute(const QualifiedName&);
43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
44 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&);
45 virtual void svgAttributeChanged(const QualifiedName&);
SVGFESpecularLightingElement.h 36 void lightElementAttributeChanged(const SVGFELightElement*, const QualifiedName&);
41 bool isSupportedAttribute(const QualifiedName&);
42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
43 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&);
44 virtual void svgAttributeChanged(const QualifiedName&);
SVGFilterPrimitiveStandardAttributes.h 44 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&);
47 SVGFilterPrimitiveStandardAttributes(const QualifiedName&, Document&);
49 bool isSupportedAttribute(const QualifiedName&);
50 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
51 virtual void svgAttributeChanged(const QualifiedName&);
60 void primitiveAttributeChanged(const QualifiedName&);
  /external/chromium_org/third_party/WebKit/Source/core/css/
SiblingTraversalStrategies.h 40 bool isFirstOfType(Element*, const QualifiedName&) const;
41 bool isLastOfType(Element*, const QualifiedName&) const;
45 int countElementsOfTypeBefore(Element*, const QualifiedName&) const;
46 int countElementsOfTypeAfter(Element*, const QualifiedName&) const;
59 inline bool DOMSiblingTraversalStrategy::isFirstOfType(Element* element, const QualifiedName& type) const
68 inline bool DOMSiblingTraversalStrategy::isLastOfType(Element* element, const QualifiedName& type) const
86 inline int DOMSiblingTraversalStrategy::countElementsOfTypeBefore(Element* element, const QualifiedName& type) const
106 inline int DOMSiblingTraversalStrategy::countElementsOfTypeAfter(Element* element, const QualifiedName& type) const
126 bool isFirstOfType(Element*, const QualifiedName&) const;
127 bool isLastOfType(Element*, const QualifiedName&) const
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLPreElement.h 32 static PassRefPtr<HTMLPreElement> create(const QualifiedName&, Document&);
35 HTMLPreElement(const QualifiedName&, Document&);
37 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
38 virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE;
HTMLTableColElement.h 35 static PassRefPtr<HTMLTableColElement> create(const QualifiedName& tagName, Document&);
43 HTMLTableColElement(const QualifiedName& tagName, Document&);
45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERRIDE;
46 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
47 virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) OVERRIDE;
  /libcore/luni/src/test/java/tests/org/w3c/dom/
DocumentCreateElementNS.java 13 * 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...]
CreateElementNS.java 34 * 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 = "xml:element1"
    [all...]
CreateDocument.java 35 * The "createDocument(namespaceURI,qualifiedName,doctype)" method for a
37 * qualifiedName is malformed.
40 * createDocument(namespaceURI,qualifiedName,doctype) on the retrieved
42 * "http://www.ecommerce.org/", qualifiedName as "prefix::local", and doctype as
106 String qualifiedName = "k:local";
117 domImpl.createDocument(namespaceURI, qualifiedName, docType);
127 // String qualifiedName = "namespaceURI:x";
138 // domImpl.createDocument(namespaceURI, qualifiedName, docType);
148 // String qualifiedName = "namespaceURI:x";
160 // aNewDoc = domImpl.createDocument(namespaceURI, qualifiedName,
    [all...]
SetAttributeNS.java 34 * The "setAttributeNS(namespaceURI,qualifiedName,Value)" method raises a
39 * should be raised since the "qualifiedName" has an invalid character.
81 String qualifiedName = "emp:qual?name";
93 qualifiedName, "newValue");
102 String qualifiedName = "emp:";
115 qualifiedName, "newValue");
126 // String qualifiedName = "emp:local1";
153 // genElement.setAttributeNS(namespaceURI, qualifiedName,
192 String qualifiedName = "emp:newAttr";
203 qualifiedName, "<newValue>")
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/track/vtt/
VTTElement.cpp 33 static const QualifiedName& nodeTypeToTagName(VTTNodeType nodeType)
35 DEFINE_STATIC_LOCAL(QualifiedName, cTag, (nullAtom, "c", nullAtom));
36 DEFINE_STATIC_LOCAL(QualifiedName, vTag, (nullAtom, "v", nullAtom));
37 DEFINE_STATIC_LOCAL(QualifiedName, langTag, (nullAtom, "lang", nullAtom));
38 DEFINE_STATIC_LOCAL(QualifiedName, bTag, (nullAtom, "b", nullAtom));
39 DEFINE_STATIC_LOCAL(QualifiedName, uTag, (nullAtom, "u", nullAtom));
40 DEFINE_STATIC_LOCAL(QualifiedName, iTag, (nullAtom, "i", nullAtom));
41 DEFINE_STATIC_LOCAL(QualifiedName, rubyTag, (nullAtom, "ruby", nullAtom));
42 DEFINE_STATIC_LOCAL(QualifiedName, rtTag, (nullAtom, "rt", nullAtom));
VTTElement.h 45 static PassRefPtr<VTTElement> create(const QualifiedName&, Document*);
60 static const QualifiedName& voiceAttributeName()
62 DEFINE_STATIC_LOCAL(QualifiedName, voiceAttr, (nullAtom, "voice", nullAtom));
66 static const QualifiedName& langAttributeName()
68 DEFINE_STATIC_LOCAL(QualifiedName, voiceAttr, (nullAtom, "lang", nullAtom));
73 VTTElement(const QualifiedName&, Document*);
  /external/chromium_org/third_party/WebKit/Source/core/editing/
SetNodeAttributeCommand.h 29 #include "core/dom/QualifiedName.h"
36 static PassRefPtr<SetNodeAttributeCommand> create(PassRefPtr<Element> element, const QualifiedName& attribute, const AtomicString& value)
42 SetNodeAttributeCommand(PassRefPtr<Element>, const QualifiedName& attribute, const AtomicString& value);
48 QualifiedName m_attribute;

Completed in 661 milliseconds

1 2 3 4 5 6 7 8 91011>>