Lines Matching defs:prefix

39  * <strong>prefix</strong>.</p>
41 * <p>The prefix is included in <code>QName</code> to retain lexical
43 * javax.xml.transform.Source XML input source}. The prefix is
51 * If not specified, the prefix is set to {@link
105 * <p>prefix of this <code>QName</code>.</p>
107 private String prefix;
134 * <p>When using this constructor, the prefix is set to {@link
149 * prefix) QName(String namespaceURI, String localPart, String
150 * prefix)
158 * local part and prefix.</p>
176 * <p>If the prefix is <code>null</code>, an
180 * prefix is present or the prefix is not relevant.</p>
184 * The local part and prefix are not validated as a
191 * @param prefix prefix of the <code>QName</code>
193 public QName(String namespaceURI, String localPart, String prefix) {
208 // prefix is required
209 if (prefix == null) {
210 throw new IllegalArgumentException("prefix cannot be \"null\" when creating a QName");
212 this.prefix = prefix;
225 * XMLConstants.NULL_NS_URI} and the prefix is set to {@link
235 * {@link #QName(String namespaceURI, String localPart, String prefix)}
247 * prefix) QName(String namespaceURI, String localPart, String
248 * prefix)
276 * <p>Get the prefix of this <code>QName</code>.</p>
278 * <p>The prefix assigned to a <code>QName</code> might
281 * prefix in the context of parsing a document but that prefix may
284 * @return prefix of this <code>QName</code>
287 return prefix;
301 * Namespace URI and local part. The prefix is
329 * the local part of the <code>QName</code>. The prefix is
356 * <p>Note the prefix value is <strong><em>NOT</em></strong>
404 * <p>The prefix value <strong><em>CANNOT</em></strong> be
471 * For old versions of QName which didn't have a prefix field,
473 * the prefix to <code>null</code> instead of the empty string. This
474 * method fixes up the prefix field if it didn't exist in the serialized
480 if (prefix == null) {
481 prefix = XMLConstants.DEFAULT_NS_PREFIX;