/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | NamespaceSupport.java | 292 public boolean declarePrefix (String prefix, String uri) in declarePrefix() argument 294 if (prefix.equals("xml") || prefix.equals("xmlns")) { in declarePrefix() 297 currentContext.declarePrefix(prefix, uri); in declarePrefix() 370 public String getURI (String prefix) in getURI() argument 372 return currentContext.getURI(prefix); in getURI() 448 String prefix = (String) allPrefixes.nextElement(); in getPrefixes() local 449 if (uri.equals(getURI(prefix))) { in getPrefixes() 450 prefixes.add(prefix); in getPrefixes() 597 void declarePrefix(String prefix, String uri) { in declarePrefix() argument 609 prefix = prefix.intern(); in declarePrefix() [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
D | AttrImpl.java | 43 String prefix; field in AttrImpl 64 return prefix != null in getName() 65 ? prefix + ":" + localName in getName() 94 return prefix; in getPrefix() 106 public void setPrefix(String prefix) { in setPrefix() argument 107 this.prefix = validatePrefix(prefix, namespaceAware, namespaceURI); in setPrefix()
|
D | NodeImpl.java | 194 public void setPrefix(String prefix) throws DOMException { in setPrefix() argument 203 static String validatePrefix(String prefix, boolean namespaceAware, String namespaceURI) { in validatePrefix() argument 205 throw new DOMException(DOMException.NAMESPACE_ERR, prefix); in validatePrefix() 208 if (prefix != null) { in validatePrefix() 210 || !DocumentImpl.isXMLIdentifier(prefix) in validatePrefix() 211 … || "xml".equals(prefix) && !"http://www.w3.org/XML/1998/namespace".equals(namespaceURI) in validatePrefix() 212 … || "xmlns".equals(prefix) && !"http://www.w3.org/2000/xmlns/".equals(namespaceURI)) { in validatePrefix() 213 throw new DOMException(DOMException.NAMESPACE_ERR, prefix); in validatePrefix() 217 return prefix; in validatePrefix() 233 String prefix = null; in setNameNS() local [all …]
|
/libcore/luni/src/main/java/org/apache/harmony/security/x509/ |
D | DistributionPoint.java | 82 public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 83 sb.append(prefix); in dumpValue() 86 distributionPoint.dumpValue(sb, prefix + " "); in dumpValue() 89 reasons.dumpValue(sb, prefix + " "); in dumpValue() 92 sb.append(prefix); in dumpValue() 94 cRLIssuer.dumpValue(sb, prefix + " "); in dumpValue() 95 sb.append(prefix); in dumpValue() 98 sb.append(prefix); in dumpValue()
|
D | AuthorityKeyIdentifier.java | 108 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 109 sb.append(prefix).append("AuthorityKeyIdentifier [\n"); in dumpValue() 111 sb.append(prefix).append(" keyIdentifier:\n"); in dumpValue() 112 sb.append(Array.toString(keyIdentifier, prefix + " ")); in dumpValue() 115 sb.append(prefix).append(" authorityCertIssuer: [\n"); in dumpValue() 116 authorityCertIssuer.dumpValue(sb, prefix + " "); in dumpValue() 117 sb.append(prefix).append(" ]\n"); in dumpValue() 120 sb.append(prefix).append(" authorityCertSerialNumber: "); in dumpValue() 123 sb.append(prefix).append("]\n"); in dumpValue()
|
D | AlternativeName.java | 62 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 63 sb.append(prefix).append((which) ? "Subject" : "Issuer").append(" Alternative Names [\n"); in dumpValue() 64 alternativeNames.dumpValue(sb, prefix + " "); in dumpValue() 65 sb.append(prefix).append("]\n"); in dumpValue()
|
D | GeneralSubtree.java | 86 public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 87 sb.append(prefix).append("General Subtree: [\n"); in dumpValue() 88 sb.append(prefix).append(" base: ").append(base).append('\n'); in dumpValue() 89 sb.append(prefix).append(" minimum: ").append(minimum).append('\n'); in dumpValue() 91 sb.append(prefix).append(" maximum: ").append(maximum).append('\n'); in dumpValue() 93 sb.append(prefix).append("]\n"); in dumpValue()
|
D | SubjectKeyIdentifier.java | 75 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 76 sb.append(prefix).append("SubjectKeyIdentifier: [\n"); in dumpValue() 77 sb.append(Array.toString(keyIdentifier, prefix)); in dumpValue() 78 sb.append(prefix).append("]\n"); in dumpValue()
|
D | CRLDistributionPoints.java | 90 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 91 sb.append(prefix).append("CRL Distribution Points: [\n"); in dumpValue() 94 sb.append(prefix).append(" [").append(++number).append("]\n"); in dumpValue() 95 distributionPoint.dumpValue(sb, prefix + " "); in dumpValue() 97 sb.append(prefix).append("]\n"); in dumpValue()
|
D | KeyUsage.java | 83 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 84 sb.append(prefix).append("KeyUsage [\n"); in dumpValue() 87 sb.append(prefix).append(" ").append(USAGES[i]).append('\n'); in dumpValue() 90 sb.append(prefix).append("]\n"); in dumpValue()
|
D | IssuingDistributionPoint.java | 110 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 111 sb.append(prefix).append("Issuing Distribution Point: [\n"); in dumpValue() 113 distributionPoint.dumpValue(sb, " " + prefix); in dumpValue() 115 … sb.append(prefix).append(" onlyContainsUserCerts: ").append(onlyContainsUserCerts).append('\n'); in dumpValue() 116 … sb.append(prefix).append(" onlyContainsCACerts: ").append(onlyContainsCACerts).append('\n'); in dumpValue() 118 onlySomeReasons.dumpValue(sb, prefix + " "); in dumpValue() 120 sb.append(prefix).append(" indirectCRL: ").append(indirectCRL).append('\n'); in dumpValue() 121 …sb.append(prefix).append(" onlyContainsAttributeCerts: ").append(onlyContainsAttributeCerts).appe… in dumpValue()
|
D | ReasonFlags.java | 79 public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 80 sb.append(prefix); in dumpValue() 84 sb.append(prefix).append(" ").append(REASONS[i]).append('\n'); in dumpValue() 87 sb.append(prefix); in dumpValue()
|
D | BasicConstraints.java | 79 public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 80 sb.append(prefix).append("BasicConstraints [\n").append(prefix) in dumpValue() 82 .append("\n ").append(prefix).append("pathLenConstraint: ") in dumpValue() 83 .append(pathLenConstraint).append('\n').append(prefix) in dumpValue()
|
D | ExtensionValue.java | 43 public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 44 sb.append(prefix).append("Unparseable extension value:\n"); in dumpValue() 51 sb.append(Array.toString(encoding, prefix)); in dumpValue()
|
D | DistributionPointName.java | 83 public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 84 sb.append(prefix); in dumpValue() 87 fullName.dumpValue(sb, prefix + " "); in dumpValue() 89 sb.append(prefix); in dumpValue() 93 sb.append(prefix); in dumpValue()
|
D | NameConstraints.java | 238 @Override public void dumpValue(StringBuilder sb, String prefix) { in dumpValue() argument 239 sb.append(prefix).append("Name Constraints: [\n"); in dumpValue() 241 sb.append(prefix).append(" Permitted: [\n"); in dumpValue() 243 generalSubtree.dumpValue(sb, prefix + " "); in dumpValue() 245 sb.append(prefix).append(" ]\n"); in dumpValue() 248 sb.append(prefix).append(" Excluded: [\n"); in dumpValue() 250 generalSubtree.dumpValue(sb, prefix + " "); in dumpValue() 252 sb.append(prefix).append(" ]\n"); in dumpValue() 254 sb.append('\n').append(prefix).append("]\n"); in dumpValue()
|
/libcore/xml/src/main/java/org/kxml2/io/ |
D | KXmlSerializer.java | 226 String prefix; in getPrefix() 229 prefix = ""; in getPrefix() 232 prefix = "n" + (auto++); in getPrefix() 236 if (prefix.equals(nspStack[i])) { in getPrefix() 237 prefix = null; in getPrefix() 242 while (prefix == null); in getPrefix() 247 setPrefix(prefix, namespace); in getPrefix() 249 return prefix; in getPrefix() 275 public void setPrefix(String prefix, String namespace) in setPrefix() argument 279 if (prefix == null) in setPrefix() [all …]
|
/libcore/luni/src/test/java/tests/org/w3c/dom/ |
D | Prefix.java | 79 String prefix; in testGetPrefix1() local 82 prefix = createdNode.getPrefix(); in testGetPrefix1() 83 assertNull("throw_Null", prefix); in testGetPrefix1() 90 String prefix; in testGetPrefix2() local 96 prefix = textNode.getPrefix(); in testGetPrefix2() 97 assertNull("textNodePrefix", prefix); in testGetPrefix2() 103 String prefix; in testGetPrefix3() local 108 prefix = testEmployee.getPrefix(); in testGetPrefix3() 109 assertEquals("prefix", "emp", prefix); in testGetPrefix3() 115 String prefix; in testGetPrefix4() local [all …]
|
/libcore/luni/src/main/java/javax/xml/namespace/ |
D | QName.java | 107 private String prefix; field in QName 193 public QName(String namespaceURI, String localPart, String prefix) { in QName() argument 209 if (prefix == null) { in QName() 212 this.prefix = prefix; in QName() 287 return prefix; in getPrefix() 480 if (prefix == null) { in readObject() 481 prefix = XMLConstants.DEFAULT_NS_PREFIX; in readObject()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | MissingClassesTest.java | 27 String prefix = MissingClassesTest.class.getName(); in setUp() local 29 .withPrivateCopy(prefix + "$Loadable") in setUp() 30 .without(prefix + "$Unloadable") in setUp() 32 loadableClass = cl.loadClass(prefix + "$Loadable"); in setUp()
|
D | ClassLoaderReflectionTest.java | 53 String prefix = ClassLoaderReflectionTest.class.getName(); in setUp() local 54 ClassLoader loader = new ClassLoaderBuilder().withPrivateCopy(prefix).build(); in setUp() 55 aClass = loader.loadClass(prefix + "$A"); in setUp() 56 bClass = loader.loadClass(prefix + "$B"); in setUp() 57 cClass = loader.loadClass(prefix + "$C"); in setUp() 58 dClass = loader.loadClass(prefix + "$D"); in setUp() 59 eClass = loader.loadClass(prefix + "$E"); in setUp() 60 fClass = loader.loadClass(prefix + "$F"); in setUp() 61 aListClass = loader.loadClass(prefix + "$AList"); in setUp() 62 bStringClass = loader.loadClass(prefix + "$BString"); in setUp()
|
/libcore/dom/src/test/java/org/w3c/domts/level2/core/ |
D | prefix01.java | 70 String prefix; in runTest() local 73 prefix = createdNode.getPrefix(); in runTest() 74 assertNull("throw_Null", prefix); in runTest()
|
D | documentcreateattributeNS02.java | 71 String prefix; in runTest() local 78 prefix = attribute1.getPrefix(); in runTest() 83 assertEquals("documentcreateattributeNS02_att1_prefix", "xml", prefix); in runTest() 89 prefix = attribute2.getPrefix(); in runTest()
|
D | prefix04.java | 68 String prefix; in runTest() local 72 prefix = testEmployee.getPrefix(); in runTest() 73 assertNull("throw_Null", prefix); in runTest()
|
D | prefix02.java | 72 String prefix; in runTest() local 78 prefix = textNode.getPrefix(); in runTest() 79 assertNull("textNodePrefix", prefix); in runTest()
|