Searched refs:prefix (Results 376 - 400 of 580) sorted by relevance

<<11121314151617181920>>

/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DMessager.java243 String prefix = (pos == null) ? programName : pos.toString();
244 errWriter.println(prefix + ": " + getText("javadoc.error") + " - " + msg);
270 String prefix = (pos == null) ? programName : pos.toString();
271 warnWriter.println(prefix + ": " + getText("javadoc.warning") +" - " + msg);
/openjdk7/jdk/test/sun/jvmstat/monitor/VmIdentifier/
H A DVmIdentifierCreateResolve.java157 public void endPrefixMapping(String prefix) { argument
159 System.out.println("endPrefixMapping(): prefix = " + prefix);
295 public void startPrefixMapping(String prefix, String uri) { argument
298 + " prefix = " + prefix
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/dom/
H A DNodeImpl.java642 * The namespace prefix of this node, or null if it is unspecified. When
661 * The namespace prefix of this node, or null if it is unspecified. When
673 * prefix contains an invalid character.
679 public void setPrefix(String prefix) argument
1400 String prefix = this.getPrefix();
1402 // REVISIT: is it possible that prefix is empty string?
1403 if (prefix == null || prefix.length() == 0) {
1461 * Look up the prefix associated to the given namespace URI, starting from this node.
1464 * @return the prefix fo
[all...]
H A DCoreDocumentImpl.java2078 * qualifiedName has a prefix that is "xml", the created element
2089 * prefix that is "xml" and the namespaceURI is
2092 * if the qualifiedName has a prefix different
2126 * qualifiedName has a prefix that is "xml", the created element
2225 * @param prefix prefix of qualified name
2228 public static final boolean isValidQName(String prefix, String local, boolean xml11Version) { argument
2230 // check that both prefix and local part match NCName
2235 validNCName = (prefix == null || XMLChar.isValidNCName(prefix))
2521 checkDOMNSErr(String prefix, String namespace) argument
2563 checkQName(String prefix, String local) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/
H A DXMLStreamReaderImpl.java373 * @return the prefix of the current event, or null if the event does
374 * not have a prefix. For START_ELEMENT and END_ELEMENT, return
375 * XMLConstants.DEFAULT_NS_PREFIX when no prefix is available.
379 String prefix = fScanner.getElementQName().prefix;
380 return prefix == null ? XMLConstants.DEFAULT_NS_PREFIX : prefix;
664 //xxx: recognize SAX properties namespace, namespace-prefix to get XML Namespace declarations
728 /** Returns the prefix of this attribute at the
731 * @return the prefix o
1296 getNamespaceURI(String prefix) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xml/internal/serializer/
H A DToTextSAXHandler.java389 String prefix,
399 public void startPrefixMapping(String prefix, String uri) argument
407 final String prefix,
388 startPrefixMapping( String prefix, String uri, boolean shouldFlush) argument
406 namespaceAfterStartElement( final String prefix, final String uri) argument
H A DToTextStream.java106 * <p>If the element name has a namespace prefix, the prefix will
115 * @param localName The local name (without prefix), or the
118 * @param name The qualified name (with prefix), or the
148 * <p>If the element name has a namespace prefix, the prefix will
155 * @param localName The local name (without prefix), or the
158 * @param name The qualified name (with prefix), or the
603 String prefix,
613 public void startPrefixMapping(String prefix, Strin argument
602 startPrefixMapping( String prefix, String uri, boolean shouldFlush) argument
620 namespaceAfterStartElement( final String prefix, final String uri) argument
[all...]
/openjdk7/jdk/make/tools/src/build/tools/generatenimbus/
H A DSynthModel.java74 String prefix = Utils.escape(c.getKey());
75 defBuffer.append(" //Initialize ").append(prefix).append("\n");
76 c.write(defBuffer, styleBuffer, c, prefix, packageName);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/
H A DXMLSerializer.java266 * a specific prefix. Needed to preserve the prefix when marshalling DOM.
415 int prefix;
417 // default namespace. don't need prefix
418 prefix = -1;
420 prefix = nsContext.getPrefixIndex(uri);
424 out.attribute(prefix,local,value);
860 public void addInscopeBinding(String nsUri,String prefix) { argument
861 nsContext.put(nsUri,prefix);
894 xmlNs.prefix()
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/runtime/unmarshaller/
H A DUnmarshallingContext.java804 public void startPrefixMapping( String prefix, String uri ) { argument
811 nsBind[nsLen++] = prefix;
814 public void endPrefixMapping( String prefix ) {
817 private String resolveNamespacePrefix( String prefix ) {
818 if(prefix.equals("xml"))
822 if(prefix.equals(nsBind[i]))
828 return environmentNamespaceContext.getNamespaceURI(prefix.intern());
832 if(prefix.equals(""))
843 * A possible zero-length array of prefixes. The default prefix
854 * A possible zero-length array of prefixes. The default prefix
922 getNamespaceURI(String prefix) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/rngom/parse/host/
H A DNameClassBuilderHost.java115 public ParsedNameClass makeName(String ns, String localName, String prefix, Location _loc, Annotations _anno) { argument
120 lhs.makeName( ns, localName, prefix, loc.lhs, anno.lhs ),
121 rhs.makeName( ns, localName, prefix, loc.rhs, anno.rhs ) );
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/ws/policy/sourcemodel/
H A DPolicySourceModel.java118 * id or name identifier. The namespace-to-prefix map is initialized with mapping
207 * @throws PolicyException Thrown if one of the prefix mappers threw an exception.
214 final String prefix = getDefaultPrefix(namespace);
215 if (prefix != null) {
216 nsToPrefixMap.put(namespace, prefix);
418 * Method retrieves default prefix for given namespace. Method returns null if
419 * no default prefix is defined..
421 * @param namespace to get default prefix for.
422 * @return default prefix for given namespace. May return {@code null} if the
423 * default prefix fo
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/file/
H A DZipFileIndexArchive.java208 String prefix = zfIndex.symbolFilePrefix.path;
209 if (entryName.startsWith(prefix))
210 entryName = entryName.substring(prefix.length());
/openjdk7/jdk/src/share/classes/sun/misc/
H A DRegexpPool.java94 boolean prefix = true;
103 /* March forward through the prefix machine */
118 prefix = false;
125 if (prefix) {
200 /* March forward through the prefix machine */
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/jdi/
H A DConnectorImpl.java111 final String prefix = "sun.jvm.hotspot.jdi.";
113 String jvmHome = System.getProperty(prefix + vmVersion);
115 System.out.println("looking for System property " + prefix + vmVersion);
125 System.out.println("looking for System property " + prefix + vmVersion);
127 jvmHome = System.getProperty(prefix + vmVersion);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/util/
H A DJCDiagnostic.java65 final String prefix; field in class:JCDiagnostic.Factory
79 public Factory(JavacMessages messages, String prefix) { argument
80 this.prefix = prefix;
234 return prefix + "." + t.key + "." + key;
504 * Get the prefix string associated with this type of diagnostic.
505 * @return the prefix string associated with this type of diagnostic
512 * Get the prefix string associated with a particular type of diagnostic.
513 * @return the prefix string associated with a particular type of diagnostic
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/jaxp/validation/
H A DValidatorHandlerImpl.java518 public void startPrefixMapping(String prefix, String uri) argument
523 prefixSymbol = (prefix != null) ? fSymbolTable.addSymbol(prefix) : XMLSymbols.EMPTY_STRING;
527 prefixSymbol = (prefix != null) ? prefix : XMLSymbols.EMPTY_STRING;
536 fContentHandler.startPrefixMapping(prefix, uri);
540 public void endPrefixMapping(String prefix) throws SAXException { argument
542 fContentHandler.endPrefixMapping(prefix);
774 String prefix = XMLSymbols.EMPTY_STRING;
777 prefix
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/regexp/internal/
H A DRE.java1420 // Can we optimize the search by looking for a prefix string?
1421 if (program.prefix == null)
1438 char[] prefix = program.prefix;
1439 for ( ; !search.isEnd(i + prefix.length - 1); i++)
1446 // If there's a mismatch of any character in the prefix, give up
1447 match = (compareChars(search.charAt(j++), prefix[k++], caseIndependent) == 0);
1448 } while (match && k < prefix.length);
1450 // See if the whole prefix string matched
1451 if (k == prefix
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DFile.java49 * <li> An optional system-dependent <em>prefix</em> string,
59 * prefix and an empty name sequence.
84 * prefix and each name in the pathname's name sequence except for the last.
91 * <p> The prefix concept is used to handle root directories on UNIX platforms,
97 * <li> For UNIX platforms, the prefix of an absolute pathname is always
98 * <code>"/"</code>. Relative pathnames have no prefix. The abstract pathname
99 * denoting the root directory has the prefix <code>"/"</code> and an empty
102 * <li> For Microsoft Windows platforms, the prefix of a pathname that contains a drive
105 * prefix of a UNC pathname is <code>"\\\\"</code>; the hostname and the share
107 * does not specify a drive has no prefix
1879 generateFile(String prefix, String suffix, File dir) argument
1965 createTempFile(String prefix, String suffix, File directory) argument
2029 createTempFile(String prefix, String suffix) argument
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/
H A DDecoder.java170 * The prefix table of the vocabulary.
276 _prefixTable = _v.prefix;
398 _prefixTable = _v.prefix;
468 decodeTableItems(_v.prefix);
586 String prefix = "";
590 prefix = _v.prefix.get(prefixIndex);
600 if (namespaceName == "" && prefix != "") {
607 QualifiedName qualifiedName = new QualifiedName(prefix, namespaceName, localName,
725 // no prefix, n
[all...]
/openjdk7/jdk/src/share/classes/javax/swing/plaf/basic/
H A DBasicTextUI.java140 * of the class with the package prefix removed.
176 String prefix = getPropertyPrefix();
178 prefix + ".keyBindings");
230 String prefix = getPropertyPrefix();
233 DefaultLookup.getColor(c, this, prefix + ".disabledBackground", null);
235 DefaultLookup.getColor(c, this, prefix + ".inactiveBackground", null);
237 DefaultLookup.getColor(c, this, prefix + ".background", null);
284 * UIManager. This is used as a prefix to all the standard
304 String prefix = getPropertyPrefix();
307 editor.setFont(UIManager.getFont(prefix
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/javax/xml/bind/
H A DDatatypeConverterImpl.java386 String prefix;
397 prefix = "";
400 prefix = text.subSequence(start, idx).toString();
402 uri = nsc.getNamespaceURI(prefix);
406 // error: unbound prefix
408 throw new IllegalArgumentException("prefix " + prefix + " is not bound to a namespace");
412 return new QName(uri, localPart, prefix);
572 String prefix = nsc.getPrefix(val.getNamespaceURI());
575 if (prefix
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/code/
H A DSymbol.java530 Name prefix = owner.getQualifiedName();
531 if (prefix == null || prefix == prefix.table.names.empty)
533 else return prefix.append('.', name);
545 Name prefix = owner.flatName();
546 if (prefix == null || prefix == prefix.table.names.empty)
548 else return prefix
[all...]
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/fastinfoset/stax/
H A DStAXDocumentParser.java627 public final String getNamespaceURI(String prefix) { argument
628 String namespace = getNamespaceDecl(prefix);
630 if (prefix == null) {
893 return _qualifiedName.prefix;
1059 return _qualifiedName.prefix;
1166 String prefix = "", namespaceName = "";
1174 // no prefix, no namespace
1177 prefix = namespaceName =
1183 // no prefix, namespace
1186 prefix
1791 getNamespaceURI(String prefix) argument
1804 getNamespaceDecl(String prefix) argument
1808 getURI(String prefix) argument
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/xpointer/
H A DXPointerHandler.java185 // Retreive the local name and prefix to form the scheme name
187 String prefix = tokens.getTokenString(token);
191 String schemeName = prefix + localName;
683 String prefix = null;
770 prefix = XMLSymbols.EMPTY_STRING;
779 prefix = name;
802 tokens.addToken(prefix);

Completed in 450 milliseconds

<<11121314151617181920>>