/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/opti/ |
H A D | AttrImpl.java | 52 * @param prefix The QName prefix. 55 * @param uri The uri binding for the associated prefix. 58 public AttrImpl(Element element, String prefix, String localpart, String rawname, String uri, String value) { argument 59 super(prefix, localpart, rawname, uri, Node.ATTRIBUTE_NODE);
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/output/ |
H A D | XMLStreamWriterOutput.java | 112 public void beginStartTag(int prefix, String localName) throws IOException, XMLStreamException { argument 114 nsContext.getPrefix(prefix), 116 nsContext.getNamespaceURI(prefix)); 129 public void attribute(int prefix, String localName, String value) throws IOException, XMLStreamException { argument 130 if(prefix==-1) 134 nsContext.getPrefix(prefix), 135 nsContext.getNamespaceURI(prefix), 143 public void endTag(int prefix, String localName) throws IOException, SAXException, XMLStreamException { argument
|
H A D | FastInfosetStreamWriterOutput.java | 336 final int prefix = nsUriIndex2prefixIndex[namespaceURIId]; 339 nsContext.getPrefix(prefix), 340 nsContext.getNamespaceURI(prefix)); 347 private void writeLiteral(int type, Name name, String prefix, String namespaceURI) throws IOException { argument 355 prefix, 361 prefix, 378 public void endTag(int prefix, String localName) throws IOException { argument 417 public void beginStartTag(int prefix, String localName) throws IOException { argument 438 nsContext.getPrefix(prefix), 440 nsContext.getNamespaceURI(prefix)); 447 attribute(int prefix, String localName, String value) argument [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xml/internal/serializer/ |
H A D | ToHTMLSAXHandler.java | 225 * <p>If the element name has a namespace prefix, the prefix will 232 * @param localName The local name (without prefix), or the 235 * @param qName The qualified name (with prefix), or the 255 public void endPrefixMapping(String prefix) throws SAXException argument 326 * @param localName The local name (without prefix), or the 513 * @param elementLocalName the element name, but without prefix 515 * @param elementName the element name, with prefix, if any (required) 548 * @param elementName the element name, with prefix, if any 634 * Handle a prefix/ur 652 startPrefixMapping( String prefix, String uri, boolean shouldFlush) argument 680 startPrefixMapping(String prefix, String uri) argument 697 namespaceAfterStartElement( final String prefix, final String uri) argument [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/ver1_1/ |
H A D | Detail1_1Impl.java | 43 public Detail1_1Impl(SOAPDocumentImpl ownerDoc, String prefix) { argument 44 super(ownerDoc, NameImpl.createDetail1_1Name(prefix));
|
H A D | FaultElement1_1Impl.java | 57 String prefix) { 59 NameImpl.createFaultElement1_1Name(localName, prefix)); 55 FaultElement1_1Impl(SOAPDocumentImpl ownerDoc, String localName, String prefix) argument
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/ver1_2/ |
H A D | SOAPPart1_2Impl.java | 62 protected Envelope createEmptyEnvelope(String prefix) throws SOAPException { argument 63 return new Envelope1_2Impl(getDocument(), prefix, true, true);
|
/openjdk10/jaxws/src/jdk.xml.bind/share/classes/com/sun/xml/internal/rngom/nc/ |
H A D | SimpleNameClass.java | 62 public SimpleNameClass(String nsUri, String localPart, String prefix) { argument 63 this(new QName(nsUri, localPart, prefix));
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/javax/xml/soap/ |
H A D | SOAPFactory.java | 142 * local name, prefix and uri. The concrete type of the return value 150 * @param prefix the prefix for this {@code SOAPElement} 161 String prefix, 201 * given local name, namespace prefix, and namespace URI. 208 * @param prefix a {@code String} giving the prefix of the namespace 211 * local name, namespace prefix, and namespace URI 216 String prefix, 159 createElement( String localName, String prefix, String uri) argument 214 createName( String localName, String prefix, String uri) argument
|
/openjdk10/jdk/test/java/io/File/ |
H A D | WinDirRelative.java | 64 String prefix = userDir.substring(0, 2); 65 File p = new File(prefix);
|
/openjdk10/langtools/test/tools/javac/ |
H A D | T6668802.java | 75 void show(String prefix, String text) { argument 76 System.err.println(prefix + ": (" + text.length() + ") " + text);
|
/openjdk10/make/scripts/ |
H A D | lic_check.sh | 89 # 5. Continue reading the file until the number of lines is equal to the length of the license template header ($lines) and remove a comment prefix for each line. 125 # read the source file and determine where the header starts, then get license header without prefix 133 # determine the comment prefix 134 prefix=`echo "${line}" | cut -d "C" -f 1` 135 # remove prefix (we use "_" as a sed delimiter, since the prefix could be like //) 136 copyright_without_prefix=`echo "${line}" | sed s_"^${prefix}"__g` 180 # record a string without a prefix to a file 181 newline=`echo "${line}" | sed s_"^${prefix}"__` 183 # we need to take care of the empty lines in the header, i.e. check the prefix withou [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/org/xml/sax/helpers/ |
H A D | ParserAdapter.java | 538 String prefix; 543 prefix = ""; 549 prefix = attQName.substring(n+1); 552 if (!nsSupport.declarePrefix(prefix, value)) { 553 reportError("Illegal Namespace prefix: " + prefix); 557 contentHandler.startPrefixMapping(prefix, value); 562 // using updated prefix bindings 571 String prefix; 575 prefix [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/addressing/ |
H A D | EndpointReferenceUtil.java | 266 String prefix = XmlUtil.getPrefix(service); 274 if (prefix != null) { 275 String ns = elm.lookupNamespaceURI(prefix); 277 msEpr.serviceName.name = new QName(ns, name, prefix); 289 String prefix = XmlUtil.getPrefix(portType); 297 if (prefix != null) { 298 String ns = elm.lookupNamespaceURI(prefix); 300 msEpr.portTypeName.name = new QName(ns, name, prefix); 366 String prefix = fixNull(n.getPrefix()); 369 msEpr.attributes.put(new QName(ns, localName, prefix), [all...] |
H A D | EPRSDDocumentFilter.java | 186 public void writeStartElement(String prefix, String localName, String namespaceURI) throws XMLStreamException { 189 super.writeStartElement(prefix, localName, namespaceURI); 280 public void writeAttribute(String prefix, String namespaceURI, String localName, String value) throws XMLStreamException { 283 super.writeAttribute(prefix, namespaceURI, localName, value); 312 public void writeNamespace(String prefix, String namespaceURI) throws XMLStreamException { 314 super.writeNamespace(prefix, namespaceURI); 333 public void setPrefix(String prefix, String uri) throws XMLStreamException { 335 super.setPrefix(prefix, uri); 347 public void writeEmptyElement(String prefix, String localName, String namespaceURI) throws XMLStreamException { 349 super.writeEmptyElement(prefix, localNam [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/ |
H A D | XMLNamespaceBinder.java | 46 * start and end prefix mappings (start/endPrefixMapping). 134 /** Only pass start and end prefix mapping events. */ 162 * Sets whether the namespace binder only passes the prefix mapping 166 * @param onlyPassPrefixMappingEvents True to pass only the prefix 175 * Returns true if the namespace binder only passes the prefix mapping 505 * document handler to start the prefix mappings. 671 if (element.prefix == XMLSymbols.PREFIX_XMLNS) { 682 String prefix = attributes.getPrefix(i); 683 // when it's of form xmlns="..." or xmlns:prefix="...", 684 // it's a namespace declaration. but prefix [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/xml/internal/stream/events/ |
H A D | StartElementEvent.java | 56 public StartElementEvent(String prefix, String uri, String localpart) { argument 57 this(new QName(uri, localpart, prefix)); 116 public String getNamespaceURI(String prefix) { argument 117 //check that URI was supplied when creating this startElement event and prefix matches 118 if (getNamespace() != null && fQName.getPrefix().equals(prefix)) { 123 return fNamespaceContext.getNamespaceURI(prefix);
|
/openjdk10/jdk/make/src/classes/build/tools/cldrconverter/ |
H A D | LDMLParseHandler.java | 203 String prefix = (currentCalendarType == null) ? "" : currentCalendarType.keyElementName(); 207 pushStringArrayEntry(qName, attributes, prefix + "MonthNames/" + getContainerKey(), 13); 210 pushStringArrayEntry(qName, attributes, prefix + "MonthAbbreviations/" + getContainerKey(), 13); 213 pushStringArrayEntry(qName, attributes, prefix + "MonthNarrows/" + getContainerKey(), 13); 244 String prefix = (currentCalendarType == null) ? "" : currentCalendarType.keyElementName(); 248 pushStringArrayEntry(qName, attributes, prefix + "DayNames/" + getContainerKey(), 7); 251 pushStringArrayEntry(qName, attributes, prefix + "DayAbbreviations/" + getContainerKey(), 7); 254 pushStringArrayEntry(qName, attributes, prefix + "DayNarrows/" + getContainerKey(), 7); 390 String prefix = (currentCalendarType == null) ? "" : currentCalendarType.keyElementName(); 394 pushStringArrayEntry(qName, attributes, prefix [all...] |
/openjdk10/jdk/src/java.xml.crypto/share/classes/org/jcp/xml/dsig/internal/dom/ |
H A D | DOMExcC14NMethod.java | 105 String prefix = DOMUtils.getNSPrefix(context, 110 prefix); 111 if (prefix == null || prefix.length() == 0) { 116 "xmlns:" + prefix,
|
/openjdk10/jdk/test/java/lang/ProcessHandle/ |
H A D | ProcessUtil.java | 198 * @param prefix the String to prefix the output with 200 static void printProcess(ProcessHandle ph, String prefix) { argument 201 printf("%spid %s, alive: %s; parent: %s, %s%n", prefix, 209 * @param prefix the String to prefix the output with 211 static void printDeep(ProcessHandle ph, String prefix) { argument 212 printProcess(ph, prefix); 213 ph.children().forEach(p -> printDeep(p, prefix + " "));
|
/openjdk10/nashorn/src/jdk.scripting.nashorn.shell/share/classes/jdk/nashorn/tools/jjs/ |
H A D | PropertiesHelper.java | 88 // Handle Java package prefix case first. Should do it before checking 178 * Returns the list of properties of the given object that start with the given prefix. 181 * @param prefix property prefix to be matched 184 List<String> getProperties(final Object obj, final String prefix) { argument 185 assert prefix != null && !prefix.isEmpty(); 188 .filter(s -> s.startsWith(prefix)) 193 final Pattern pat = makeCamelCasePattern(prefix);
|
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xalan/internal/xsltc/trax/ |
H A D | DOM2TO.java | 154 String prefix; 167 prefix = (colon > 0) ? qnameAttr.substring(colon + 1) 169 _handler.namespaceAfterStartElement(prefix, uriAttr); 187 // For attributes not given an prefix explictly 189 // to explicitly generate the prefix 193 prefix = (colon > 0) ? qnameAttr.substring(0, colon) 195 _handler.namespaceAfterStartElement(prefix, uriAttr); 196 _handler.addAttribute((prefix + ":" + qnameAttr), 211 prefix = (colon > 0) ? qname.substring(0, colon) : EMPTYSTRING; 212 _handler.namespaceAfterStartElement(prefix, ur [all...] |
/openjdk10/jdk/test/sanity/client/lib/SwingSet3/src/com/sun/swingset3/demos/list/ |
H A D | ListDemo.java | 138 // Add the control panel (holds the prefix/suffix list and prefix/suffix checkboxes) 256 private void addPrefix(String prefix, boolean selected) { argument 260 final JCheckBox cb = (JCheckBox) prefixList.add(new JCheckBox(prefix)); 264 listModel.addPrefix(prefix); 324 private final Vector<String> prefix = new Vector<>(); field in class:ListDemo.GeneratedListModel 333 if (!prefix.contains(s)) { 334 prefix.addElement(s); 340 prefix.removeElement(s); 358 return prefix [all...] |
/openjdk10/hotspot/src/share/vm/adlc/ |
H A D | formsopt.cpp | 316 const char* prefix = ""; local 318 fprintf(fp, "extern const RegMask _%s%s_mask;\n", prefix, rc_name_to_upper); 319 fprintf(fp, "inline const RegMask &%s%s_mask() { return _%s%s_mask; }\n", prefix, rc_name_to_upper, prefix, rc_name_to_upper); 321 fprintf(fp, "extern const RegMask _%sSTACK_OR_%s_mask;\n", prefix, rc_name_to_upper); 322 fprintf(fp, "inline const RegMask &%sSTACK_OR_%s_mask() { return _%sSTACK_OR_%s_mask; }\n", prefix, rc_name_to_upper, prefix, rc_name_to_upper); 329 const char *prefix = ""; local 331 fprintf(fp, "const RegMask _%s%s_mask(", prefix, rc_name_to_upper); 340 fprintf(fp, "const RegMask _%sSTACK_OR_%s_mask(", prefix, rc_name_to_uppe 358 const char* prefix = ""; local 373 const char* prefix = ""; local [all...] |
/openjdk10/jaxp/src/java.xml/share/classes/com/sun/org/apache/xerces/internal/impl/xs/traversers/ |
H A D | StAXSchemaParser.java | 343 String prefix = null; 354 prefix = XMLSymbols.PREFIX_XMLNS; 357 fStringBuffer.append(prefix); 363 prefix = XMLSymbols.EMPTY_STRING; 367 fAttributeQName.setValues(prefix, localpart, rawname, NamespaceContext.XMLNS_URI); 388 String prefix = ns.getPrefix(); 389 fDeclaredPrefixes.add(prefix != null ? prefix : ""); 398 String prefix = reader.getNamespacePrefix(i); 399 fDeclaredPrefixes.add(prefix ! 409 fillQName(QName toFill, String uri, String localpart, String prefix) argument [all...] |