/openjdk10/langtools/make/test/bootstrap/ |
H A D | javadoc.sh | 32 rm -rf doc 33 mkdir doc 34 ${TOPDIR}/dist/bootstrap/bin/javadoc -d doc "${TESTSRC}"/../HelloWorld.java 36 ( cd doc ; find . -type f -print | LANG=C sort) > javadoc.tmp
|
/openjdk10/jdk/src/java.xml.crypto/share/classes/com/sun/org/apache/xml/internal/security/utils/ |
H A D | Signature11ElementProxy.java | 42 * @param doc 44 public Signature11ElementProxy(Document doc) { argument 45 if (doc == null) { 49 this.doc = doc; 51 XMLUtils.createElementInSignature11Space(this.doc, this.getBaseLocalName());
|
H A D | SignatureElementProxy.java | 42 * @param doc 44 public SignatureElementProxy(Document doc) { argument 45 if (doc == null) { 49 this.doc = doc; 51 XMLUtils.createElementInSignatureSpace(this.doc, this.getBaseLocalName());
|
H A D | IdResolver.java | 56 * @param doc the document 60 public static Element getElementById(Document doc, String id) { argument 61 return doc.getElementById(id);
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/rtf/ |
H A D | RTFEditorKit.java | 70 * @param doc The destination for the insertion. 77 public void read(InputStream in, Document doc, int pos) throws IOException, BadLocationException { argument 79 if (doc instanceof StyledDocument) { 82 RTFReader rdr = new RTFReader((StyledDocument) doc); 87 super.read(in, doc, pos); 96 * @param doc The source for the write. 104 public void write(OutputStream out, Document doc, int pos, int len) argument 109 RTFGenerator.writeDocument(doc, out); 117 * @param doc The destination for the insertion. 124 public void read(Reader in, Document doc, in argument 150 write(Writer out, Document doc, int pos, int len) argument [all...] |
/openjdk10/nashorn/test/src/jdk/nashorn/internal/performance/ |
H A D | AuroraWrapper.java | 77 public static void addBenchmarkResults(final Document doc, final Element root, final String name, final String score, final String higherBetter) { argument 78 final Element results = addEntity(doc, root, name, "BENCHMARK_RESULTS"); 79 addAttribute(doc, results, "benchmark", name); 80 addAttribute(doc, results, "is_higher_better", higherBetter); 82 final Element iteration = addEntity(doc, results, "1", "ITERATION"); 83 addAttribute(doc, iteration, "score", score); 84 addAttribute(doc, iteration, "successful", "true"); 86 addConfig(doc, results, name); 89 public static Element getRootEntity(final org.w3c.dom.Document doc) { argument 90 final Element rootEntity = doc 108 addAttribute(final Document doc, final Element entity, final String attributeName, final String attributeValue) argument 115 addEntity(final Document doc, final Element entity, final String entityName, final String entityType) argument 128 addResults(final Document doc) argument 174 addConfig(final Document doc, final Element result, final String _benchmark) argument 180 addResults(final Document doc, final String _benchmark, final String _score) argument [all...] |
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/xpath/ |
H A D | XPathAnyTypeTest.java | 92 public void test04(XPath xpath, Document doc) throws XPathExpressionException { argument 93 boolean result1 = xpath.evaluateExpression("boolean(/Customers/Customer[@id=3])", doc, Boolean.class); 101 public void test05(XPath xpath, Document doc) throws XPathExpressionException { argument 102 double result1 = xpath.evaluateExpression("count(/Customers/Customer)", doc, Double.class); 104 int result2 = xpath.evaluateExpression("count(/Customers/Customer)", doc, Integer.class); 106 long result3 = xpath.evaluateExpression("count(/Customers/Customer)", doc, Long.class); 123 public void test07(XPath xpath, Document doc) throws XPathExpressionException { argument 124 String result1 = xpath.evaluateExpression("string(/Customers/Customer[@id=3]/Phone/text())", doc, String.class); 132 public void test08(XPath xpath, Document doc) throws XPathExpressionException { argument 133 XPathNodes nodes = xpath.evaluateExpression("/Customers/Customer", doc, XPathNode 144 test09(XPath xpath, Document doc) argument 153 test10(XPath xpath, Document doc) argument 161 test11(XPath xpath, Document doc) argument 170 test12(XPath xpath, Document doc) argument 179 test13(XPath xpath, Document doc) argument 189 test14(XPath xpath, Document doc) argument 198 test15(XPath xpath, Document doc) argument [all...] |
H A D | XPathExpAnyTypeTest.java | 78 public void test04(XPath xpath, Document doc) throws XPathExpressionException { argument 80 boolean result1 = exp.evaluateExpression(doc, Boolean.class); 88 public void test05(XPath xpath, Document doc) throws XPathExpressionException { argument 90 double result1 = exp.evaluateExpression(doc, Double.class); 93 int result2 = exp.evaluateExpression(doc, Integer.class); 101 public void test06(XPath xpath, Document doc) throws XPathExpressionException { argument 103 String result1 = exp.evaluateExpression(doc, String.class); 111 public void test07(XPath xpath, Document doc) throws XPathExpressionException { argument 113 XPathNodes nodes = exp.evaluateExpression(doc, XPathNodes.class); 124 public void test08(XPath xpath, Document doc) throw argument 134 test09(XPath xpath, Document doc) argument 143 test10(XPath xpath, Document doc) argument 153 test11(XPath xpath, Document doc) argument 163 test12(XPath xpath, Document doc) argument 173 test13(XPath xpath, Document doc) argument 183 test14(XPath xpath, Document doc) argument [all...] |
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/dom/ls/ |
H A D | Bug6710741Test.java | 51 Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); 52 Element el = doc.createElement("x"); 53 DOMImplementationLS ls = (DOMImplementationLS) doc.getImplementation().getFeature("LS", "3.0"); 69 Document doc; 71 doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().newDocument(); 72 Element el = doc.createElement("x"); 73 doc.appendChild(el); 74 DOMImplementationLS ls = (DOMImplementationLS) doc.getImplementation().getFeature("LS", "3.0"); 75 System.out.println(ls.createLSSerializer().writeToString(doc));
|
/openjdk10/jdk/test/javax/swing/text/GapContent/4496801/ |
H A D | bug4496801.java | 40 HTMLDocument doc = new HTMLDocument(); 41 doc.setParser(new ParserDelegator()); 43 Element html = doc.getRootElements()[0]; 47 doc.insertBeforeEnd(body, "<h2>foo</h2>");
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/txw2/ |
H A D | Content.java | 43 * @param doc 49 final void setNext(Document doc,Content next) { argument 53 doc.run();
|
/openjdk10/jdk/src/java.desktop/macosx/classes/sun/lwawt/macosx/ |
H A D | CPrinterJobDialog.java | 37 CPrinterJobDialog(Frame parent, CPrinterJob printerJob, Pageable doc, boolean allowPrintToFile) { argument 39 fPageable = doc;
|
/openjdk10/langtools/make/test/lib/ |
H A D | javadoc.sh | 33 rm -rf doc 34 mkdir doc 38 -d doc "${TESTSRC}"/../HelloWorld.java 40 ( cd doc ; find . -type f -print | LANG=C sort ) > javadoc.tmp
|
/openjdk10/hotspot/src/share/vm/runtime/ |
H A D | globals_extension.hpp | 49 #define RUNTIME_PRODUCT_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), 50 #define RUNTIME_PD_PRODUCT_FLAG_MEMBER(type, name, doc) FLAG_MEMBER(name), 51 #define RUNTIME_DIAGNOSTIC_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), 52 #define RUNTIME_PD_DIAGNOSTIC_FLAG_MEMBER(type, name, doc) FLAG_MEMBER(name), 53 #define RUNTIME_EXPERIMENTAL_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), 54 #define RUNTIME_MANAGEABLE_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), 55 #define RUNTIME_PRODUCT_RW_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), 56 #define RUNTIME_DEVELOP_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBER(name), 57 #define RUNTIME_PD_DEVELOP_FLAG_MEMBER(type, name, doc) FLAG_MEMBER(name), 58 #define RUNTIME_NOTPRODUCT_FLAG_MEMBER(type, name, value, doc) FLAG_MEMBE [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/ |
H A D | JTextPane.java | 103 * @param doc the document model 105 public JTextPane(StyledDocument doc) { argument 107 setStyledDocument(doc); 127 * @param doc the document to display/edit 128 * @exception IllegalArgumentException if <code>doc</code> can't 132 public void setDocument(Document doc) { argument 133 if (doc instanceof StyledDocument) { 134 super.setDocument(doc); 145 * @param doc the document to display/edit 147 public void setStyledDocument(StyledDocument doc) { argument [all...] |
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/dom/ |
H A D | DOMConfigurationTest.java | 112 void setHandler(Document doc) { argument 113 doc.getDomConfig().setParameter("error-handler", new TestFailureHandler()); 135 inSource.setSystemId("doc.xml"); 173 * <b>pre-conditions</b>: the doc contains two subsequent processing 191 Document doc = domImpl.createDocument("namespaceURI", "ns:root", null); 193 DOMConfiguration config = doc.getDomConfig(); 195 Element root = doc.getDocumentElement(); 196 ProcessingInstruction pi1 = doc.createProcessingInstruction("target1", "data1"); 197 ProcessingInstruction pi2 = doc.createProcessingInstruction("target2", "data2"); 208 setHandler(doc); [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/dom/ |
H A D | DocumentCache.java | 224 private synchronized void insertDocument(String uri, CachedDocument doc) { argument 237 _references.put(uri, doc); 243 private synchronized void replaceDocument(String uri, CachedDocument doc) { argument 244 if (doc == null) 245 insertDocument(uri, doc); 247 _references.put(uri, doc); 256 CachedDocument doc; 268 if ((doc = lookupDocument(uri)) == null) { 269 doc = new CachedDocument(uri); 270 if (doc [all...] |
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/xsom/impl/parser/ |
H A D | SchemaDocumentImpl.java | 88 for (SchemaDocumentImpl doc : references) { 89 if(doc.getTargetNamespace().equals(targetNamespace)) 90 r.add(doc); 95 public boolean includes(SchemaDocument doc) { argument 96 if(!references.contains(doc)) 98 return doc.getSchema()==schema; 101 public boolean imports(SchemaDocument doc) { argument 102 if(!references.contains(doc)) 104 return doc.getSchema()!=schema;
|
/openjdk10/hotspot/src/share/tools/IdealGraphVisualizer/Data/test/unit/src/com/sun/hotspot/igv/data/serialization/ |
H A D | ParserTest.java | 95 final GraphDocument doc = new GraphDocument(); 97 test(doc); 99 final Group group1 = new Group(doc); 100 doc.addElement(group1); 101 test(doc); 103 final Group group2 = new Group(doc); 104 doc.addElement(group2); 105 test(doc); 109 test(doc); 112 test(doc); [all...] |
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/validation/ |
H A D | Bug6493687.java | 44 Document doc = new XMLDocBuilder("Bug6493687.xml", "UTF-8", "Bug6493687.xsd").getDocument(); 46 System.out.println(doc); 47 System.out.println(doc.getDocumentElement().getNodeName());
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/dom/ |
H A D | PSVIDOMImplementationImpl.java | 118 DocumentImpl doc = new PSVIDocumentImpl(doctype); 119 Element e = doc.createElementNS( namespaceURI, qualifiedName); 120 doc.appendChild(e); 121 return doc;
|
/openjdk10/jdk/src/java.desktop/share/classes/javax/swing/text/ |
H A D | EditorKit.java | 141 * @param doc The destination for the insertion. 148 public abstract void read(InputStream in, Document doc, int pos) argument 156 * @param doc The source for the write. 164 public abstract void write(OutputStream out, Document doc, int pos, int len) argument 178 * @param doc The destination for the insertion. 185 public abstract void read(Reader in, Document doc, int pos) argument 198 * @param doc The source for the write. 206 public abstract void write(Writer out, Document doc, int pos, int len) argument
|
/openjdk10/jdk/test/javax/swing/text/html/8005391/ |
H A D | bug8005391.java | 47 HTMLDocument doc = (HTMLDocument) kit.createDefaultDocument(); 48 HTMLEditorKit.ParserCallback htmlReader = doc.getReader(0); 52 kit.write(writer, doc, 0, doc.getLength());
|
/openjdk10/jdk/test/javax/swing/text/html/HTMLEditorKit/7104635/ |
H A D | HTMLEditorKitWriterBug.java | 44 HTMLDocument doc = (HTMLDocument) kit.createDefaultDocument(); 45 HTMLEditorKit.ParserCallback htmlReader = doc.getReader(0); 50 kit.write(writer, doc, 0, doc.getLength());
|
/openjdk10/jaxp/test/javax/xml/jaxp/unittest/parsers/xinclude/ |
H A D | Bug6794483Test.java | 59 Document doc = parseXmlFile(getClass().getResource("test1.xml").getPath()); 62 NodeList nodeList = doc.getElementsByTagName("node4"); 64 assertEquals(nodeList.item(0).getTextContent(), "Node4 Value", "The data of node4 is missed in parsing: " + lineSeparator() + printXmlDoc(doc)); 67 nodeList = doc.getElementsByTagName("node6"); 69 assertEquals(nodeList.item(0).getTextContent(), "Node6 Value", "The data of node6 is missed in parsing: " + lineSeparator() + printXmlDoc(doc)); 72 public String printXmlDoc(Document doc) throws Exception { argument 85 transformer.transform(new DOMSource(doc), result); 92 Document doc = null; 103 doc = docBuilder.parse(sourceFile); 106 return doc; [all...] |