Lines Matching defs:name

126      * name; the inner map's key is the attribute name. Both keys should be
160 private String name;
170 * i + 2 = attribute qualified name (may contain ":", as in "html:h1")
248 "illegal attribute name: " + attrName + " at " + this);
268 int cut = name.indexOf(':');
271 checkRelaxed("illegal tag name: " + name);
275 prefix = name.substring(0, cut);
276 name = name.substring(cut + 1);
356 name = null;
605 * SYSTEM "quoted system name"
606 * PUBLIC "quoted public id" "quoted system name"
608 * If the system name is not required, this also supports lone public IDs of
638 return true; // no system name!
718 * Read an element declaration. This contains a name and a content spec.
741 * The special name '#PCDATA' is permitted but only if it is the first
786 * Each attribute has a name, type and default.
808 // attribute name
907 String name = readName();
938 documentEntities.put(name, entityValue.toCharArray());
960 name = readName(); // TODO: pass the expected name in as a hint?
967 checkRelaxed("read end tag " + name + " with no tags open");
972 if (name.equals(elementStack[sp + 3])) {
975 name = elementStack[sp + 2];
978 "expected: /" + elementStack[sp + 3] + " read: " + name, this, null);
1045 * Sets name and attributes
1052 name = readName();
1132 elementStack[sp + 3] = name;
1150 Map<String, String> elementDefaultAttributes = defaultAttributes.get(name);
1169 elementStack[sp + 2] = name;
1217 name = code;
1516 * Returns an element or attribute name. This is always non-empty for
1521 checkRelaxed("name expected");
1538 checkRelaxed("name expected");
1573 // we encountered a non-name character. done!
1599 name = null;
1795 * Returns the root element's name if it was declared in the DTD. This
1796 * equals the first tag's name for valid documents.
1873 buf.append(name);
1967 return name;
2021 public String getAttributeValue(String namespace, String name) {
2023 if (attributes[i + 2].equals(name)
2051 public void require(int type, String namespace, String name)
2055 || (name != null && !name.equals(getName()))) {
2057 "expected: " + TYPES[type] + " {" + namespace + "}" + name, this, null);