Home
last modified time | relevance | path

Searched refs:localName (Results 1 – 25 of 122) sorted by relevance

12345

/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/
DExtendedType.java31 private String localName; field in ExtendedType
42 public ExtendedType (int nodetype, String namespace, String localName) in ExtendedType() argument
46 this.localName = localName; in ExtendedType()
47 this.hash = nodetype + namespace.hashCode() + localName.hashCode(); in ExtendedType()
59 public ExtendedType (int nodetype, String namespace, String localName, int hash) in ExtendedType() argument
63 this.localName = localName; in ExtendedType()
72 protected void redefine(int nodetype, String namespace, String localName) in redefine() argument
76 this.localName = localName; in redefine()
77 this.hash = nodetype + namespace.hashCode() + localName.hashCode(); in redefine()
85 protected void redefine(int nodetype, String namespace, String localName, int hash) in redefine() argument
[all …]
DExpandedNameTable.java156 public int getExpandedTypeID(String namespace, String localName, int type) in getExpandedTypeID() argument
158 return getExpandedTypeID(namespace, localName, type, false); in getExpandedTypeID()
179 public int getExpandedTypeID(String namespace, String localName, int type, boolean searchOnly) in getExpandedTypeID() argument
183 if (null == localName) in getExpandedTypeID()
184 localName = ""; in getExpandedTypeID()
187 int hash = type + namespace.hashCode() + localName.hashCode(); in getExpandedTypeID()
190 hashET.redefine(type, namespace, localName, hash); in getExpandedTypeID()
219 ExtendedType newET = new ExtendedType(type, namespace, localName, hash); in getExpandedTypeID()
/external/jdiff/src/jdiff/
DAPIHandler.java72 public void startElement(java.lang.String uri, java.lang.String localName, in startElement() argument
75 if (localName.equals("")) in startElement()
76 localName = qName; in startElement()
77 if (localName.compareTo("api") == 0) { in startElement()
81 } else if (localName.compareTo("package") == 0) { in startElement()
82 currentElement = localName; in startElement()
85 } else if (localName.compareTo("class") == 0) { in startElement()
86 currentElement = localName; in startElement()
93 } else if (localName.compareTo("interface") == 0) { in startElement()
94 currentElement = localName; in startElement()
[all …]
DCommentsHandler.java57 public void startElement(java.lang.String uri, java.lang.String localName, in startElement() argument
60 if (localName.equals("")) in startElement()
61 localName = qName; in startElement()
62 if (localName.compareTo("comments") == 0) { in startElement()
77 } else if (localName.compareTo("comment") == 0) { in startElement()
79 } else if (localName.compareTo("identifier") == 0) { in startElement()
85 } else if (localName.compareTo("text") == 0) { in startElement()
91 addStartTagToText(localName, attributes); in startElement()
93 System.out.println("Error: unknown element type: " + localName); in startElement()
99 public void endElement(java.lang.String uri, java.lang.String localName, in endElement() argument
[all …]
/external/tagsoup/src/org/ccil/cowan/tagsoup/
DXMLWriter.java573 public void startElement (String uri, String localName, in startElement() argument
579 if (forceDTD && !hasOutputDTD) startDTD(localName == null ? qName : localName, "", ""); in startElement()
581 writeName(uri, localName, qName, true); in startElement()
593 super.startElement(uri, localName, qName, atts); in startElement()
615 public void endElement (String uri, String localName, String qName) in endElement() argument
629 writeName(uri, localName, qName, true); in endElement()
636 super.endElement(uri, localName, qName); in endElement()
748 public void emptyElement (String uri, String localName, in emptyElement() argument
754 writeName(uri, localName, qName, true); in emptyElement()
761 super.startElement(uri, localName, qName, atts); in emptyElement()
[all …]
DAttributesImpl.java207 public int getIndex (String uri, String localName) in getIndex() argument
211 if (data[i].equals(uri) && data[i+1].equals(localName)) { in getIndex()
248 public String getType (String uri, String localName) in getType() argument
252 if (data[i].equals(uri) && data[i+1].equals(localName)) { in getType()
290 public String getValue (String uri, String localName) in getValue() argument
294 if (data[i].equals(uri) && data[i+1].equals(localName)) { in getValue()
387 public void addAttribute (String uri, String localName, String qName, in addAttribute() argument
392 data[length*5+1] = localName; in addAttribute()
421 public void setAttribute (int index, String uri, String localName, in setAttribute() argument
426 data[index*5+1] = localName; in setAttribute()
[all …]
DElementType.java58 theLocalName = localName(name); in ElementType()
88 public String localName(String name) { in localName() method in ElementType
117 public String localName() { return theLocalName; } in localName() method in ElementType
195 String localName = localName(name); in setAttribute() local
201 atts.addAttribute(namespace, localName, name, type, value); in setAttribute()
206 atts.setAttribute(i, namespace, localName, name, type, value); in setAttribute()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DQName.java91 public QName(String namespaceURI, String localName) in QName() argument
93 this(namespaceURI, localName, false); in QName()
105 public QName(String namespaceURI, String localName, boolean validate) in QName() argument
110 if (localName == null) in QName()
116 if (!XML11Char.isXML11ValidNCName(localName)) in QName()
124 _localName = localName; in QName()
137 public QName(String namespaceURI, String prefix, String localName) in QName() argument
139 this(namespaceURI, prefix, localName, false); in QName()
152 public QName(String namespaceURI, String prefix, String localName, boolean validate) in QName() argument
157 if (localName == null) in QName()
[all …]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DQName.java20 private String localName; field in QName
34 localName = qname.substring(colon + 1); in QName()
39 localName = qname; in QName()
48 public QName(String prefix, String localName) in QName() argument
51 this.localName = localName; in QName()
69 return localName; in getLocalName()
DParseRDF.java1256 String localName = node.getLocalName(); in getRDFTermKind() local
1261 ("about".equals(localName) || "ID".equals(localName)) && in getRDFTermKind()
1271 if ("li".equals(localName)) in getRDFTermKind()
1275 else if ("parseType".equals(localName)) in getRDFTermKind()
1279 else if ("Description".equals(localName)) in getRDFTermKind()
1283 else if ("about".equals(localName)) in getRDFTermKind()
1287 else if ("resource".equals(localName)) in getRDFTermKind()
1291 else if ("RDF".equals(localName)) in getRDFTermKind()
1295 else if ("ID".equals(localName)) in getRDFTermKind()
1299 else if ("nodeID".equals(localName)) in getRDFTermKind()
[all …]
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DSerializerBase.java286 final String localName = qname.substring(lastColon + 1); in patchName() local
291 return localName; in patchName()
294 return prefix + ':' + localName; in patchName()
365 String localName, in addAttribute() argument
374 addAttributeAlways(uri, localName, rawName, type, value, XSLAttribute); in addAttribute()
395 String localName, in addAttributeAlways() argument
412 if (localName == null || uri == null || uri.length() == 0) in addAttributeAlways()
415 index = m_attributes.getIndex(uri,localName); in addAttributeAlways()
429 m_attributes.addAttribute(uri, localName, rawName, type, value); in addAttributeAlways()
449 final String localName = getLocalName(patchedName); in addAttribute() local
[all …]
DToXMLSAXHandler.java198 final String localName = getLocalName(m_elemContext.m_elementName); in closeStartTag() local
206 m_saxHandler.startElement(uri, localName, m_elemContext.m_elementName, m_attributes); in closeStartTag()
241 public void endElement(String namespaceURI, String localName, String qName) in endElement() argument
255 if (localName == null) in endElement()
258 localName = m_elemContext.m_elementLocalName; in endElement()
260 localName = getLocalName(qName); in endElement()
263 m_saxHandler.endElement(namespaceURI, localName, qName); in endElement()
641 String localName, in startElement() argument
647 super.startElement(namespaceURI, localName, name, atts); in startElement()
664 m_elemContext = m_elemContext.push(namespaceURI, localName, name); in startElement()
[all …]
DToUnknownStream.java268 String localName, in addAttribute() argument
279 m_handler.addAttribute(uri, localName, rawName, type, value, XSLAttribute); in addAttribute()
451 … public void startElement(String namespaceURI, String localName, String qName) throws SAXException in startElement() argument
453 this.startElement(namespaceURI, localName, qName, null); in startElement()
458 String localName, in startElement() argument
473 m_handler.startElement(namespaceURI, localName, elementName, atts); in startElement()
492 m_firstElementLocalName = localName; in startElement()
519 m_handler.startElement(namespaceURI, localName, elementName, atts); in startElement()
809 public void endElement(String namespaceURI, String localName, String qName) in endElement() argument
819 if (localName == null && m_firstElementLocalName != null) in endElement()
[all …]
DToXMLStream.java432 String localName, in addAttribute() argument
441 … boolean was_added = addAttributeAlways(uri, localName, rawName, type, value, xslAttribute); in addAttribute()
456 localName, in addAttribute()
464 rawName = prefixUsed + ":" + localName; in addAttribute()
468 addAttributeAlways(uri, localName, rawName, type, value, xslAttribute); in addAttribute()
487 MsgKey.ER_ILLEGAL_ATTRIBUTE_POSITION,new Object[]{ localName }); in addAttribute()
/external/python/cpython3/Lib/xml/dom/
Dminidom.py317 def _get_elements_by_tagName_ns_helper(parent, nsURI, localName, rc): argument
320 if ((localName == "*" or node.localName == localName) and
323 _get_elements_by_tagName_ns_helper(node, nsURI, localName, rc)
354 def __init__(self, qName, namespaceURI=EMPTY_NAMESPACE, localName=None, argument
409 newName = self.localName
411 newName = "%s:%s" % (prefix, self.localName)
426 del elem._attrsNS[(self.namespaceURI, self.localName)]
447 return info.isIdNS(self.namespaceURI, self.localName)
461 return info.getAttributeTypeNS(self.namespaceURI, self.localName)
504 L.append(((node.namespaceURI, node.localName), node.value))
[all …]
/external/python/cpython2/Lib/xml/dom/
Dminidom.py308 def _get_elements_by_tagName_ns_helper(parent, nsURI, localName, rc): argument
311 if ((localName == "*" or node.localName == localName) and
314 _get_elements_by_tagName_ns_helper(node, nsURI, localName, rc)
344 def __init__(self, qName, namespaceURI=EMPTY_NAMESPACE, localName=None, argument
388 newName = self.localName
390 newName = "%s:%s" % (prefix, self.localName)
410 del elem._attrsNS[(self.namespaceURI, self.localName)]
431 return info.isIdNS(self.namespaceURI, self.localName)
445 return info.getAttributeTypeNS(self.namespaceURI, self.localName)
488 L.append(((node.namespaceURI, node.localName), node.value))
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/templates/
DElemLiteralResult.java190 public AVT getLiteralResultAttributeNS(String namespaceURI, String localName) in getLiteralResultAttributeNS() argument
201 if (avt.getName().equals(localName) && in getLiteralResultAttributeNS()
221 public String getAttributeNS(String namespaceURI, String localName) in getAttributeNS() argument
224 AVT avt = getLiteralResultAttributeNS(namespaceURI, localName); in getAttributeNS()
465 public void setLocalName(String localName) in setLocalName() argument
467 m_localName = localName; in setLocalName()
590 String localName = name; in getNamedItem() local
594 localName = name.substring(index+1); in getNamedItem()
600 if (localName.equals(avt.getName())) in getNamedItem()
623 public Node getNamedItemNS(String namespaceURI, String localName) in getNamedItemNS() argument
[all …]
/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateStatistics.java208 String localName = llist.getLocalName(); in showSet() local
220 if (BIDI_R.containsSome(localName)) in showSet()
221 localName = '\u200E' + localName + '\u200E'; in showSet()
231 if (!localName.equalsIgnoreCase(englishName)) { in showSet()
233 qualifierSet.add(localName); in showSet()
235 if (transliterate && NON_LATIN.containsSome(localName) in showSet()
237 String transName = localName; in showSet()
240 toLatin.transliterate(localName)); in showSet()
245 Log.logln("Can't transliterate " + localName in showSet()
331 LanguageList(String locale, String englishName, String localName) { in LanguageList() argument
[all …]
/external/apache-xml/src/main/java/org/apache/xalan/processor/
DProcessorTemplateElem.java49 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement() argument
53 super.startElement(handler, uri, localName, rawName, attributes); in startElement()
120 StylesheetHandler handler, String uri, String localName, String rawName) in endElement() argument
123 super.endElement(handler, uri, localName, rawName); in endElement()
DProcessorStylesheetElement.java60 … StylesheetHandler handler, String uri, String localName, String rawName, Attributes attributes) in startElement() argument
64 super.startElement(handler, uri, localName, rawName, attributes); in startElement()
140 StylesheetHandler handler, String uri, String localName, String rawName) in endElement() argument
143 super.endElement(handler, uri, localName, rawName); in endElement()
DXSLTElementDef.java445 private boolean QNameEquals(String uri, String localName) in QNameEquals() argument
449 && (equalsMayBeNullOrZeroLen(m_name, localName) in QNameEquals()
450 || equalsMayBeNullOrZeroLen(m_nameAlias, localName))); in QNameEquals()
462 XSLTElementProcessor getProcessorFor(String uri, String localName) in getProcessorFor() argument
491 else if (def.QNameEquals(uri, localName)) in getProcessorFor()
530 XSLTElementProcessor getProcessorForUnknown(String uri, String localName) in getProcessorForUnknown() argument
576 XSLTAttributeDef getAttributeDef(String uri, String localName) in getAttributeDef() argument
602 && localName.equals(nameDef)) in getAttributeDef()
/external/apache-xml/src/main/java/org/apache/xpath/axes/
DDescendantIterator.java266 String localName = getLocalName(); in setRoot() local
272 || NodeTest.WILD.equals(localName) in setRoot()
280 m_extendedTypeID = m_cdtm.getExpandedTypeID(namespace, localName, type); in setRoot()
304 String localName = getLocalName(); in asNode() local
313 || localName == NodeTest.WILD in asNode()
321 int extendedType = dtm.getExpandedTypeID(namespace, localName, type); in asNode()
/external/apache-xml/src/main/java/org/apache/xalan/transformer/
DSerializerSwitcher.java55 TransformerImpl transformer, String ns, String localName) in switchSerializerIfHTML() argument
63 && localName.equalsIgnoreCase("html")) in switchSerializerIfHTML()
150 String ns, String localName, Properties props, Serializer oldSerializer) in switchSerializerIfHTML() argument
156 && localName.equalsIgnoreCase("html")) in switchSerializerIfHTML()
/external/tagsoup/src/org/ccil/cowan/tagsoup/jaxp/
DSAX1ParserAdapter.java126 public void endElement(String uri, String localName, String qName) in endElement() argument
130 qName = localName; in endElement()
168 public void startElement(String uri, String localName, String qName, in startElement() argument
173 qName = localName; in startElement()
/external/apache-xml/src/main/java/org/apache/xml/serializer/dom3/
DDOM3TreeWalker.java670 String localName = attr.getLocalName(); in serializeAttList() local
731 attrName = declAttrPrefix + ":" + localName; in serializeAttList()
733 attrName = localName; in serializeAttList()
760 attrName = attrPrefix + ":" + localName; in serializeAttList()
778 if (localName == null) { in serializeAttList()
837 if (localName != null && !"".equals(localName)) { in serializeAttList()
838 fSerializer.addAttribute(attrNS, localName, attrName, type, attrValue); in serializeAttList()
849 localName, in serializeAttList()
856 localName, in serializeAttList()
1830 String localName = attr.getLocalName(); in recordLocalNSDecl() local
[all …]

12345