public @Prefix String getPrefix(int mode) { return prefix[mode]; }
public @Prefix String getPrefix(int mode) { return prefix[mode]; }
public @Prefix String getPrefix(int mode) { return prefix[mode]; }
public @Prefix String getPrefix(int index) { if (index < length && index >= 0) { return names[index].getPrefix(mode); } else { return null; } }
/** * Variant of <code>getPrefix(int index)</code> without bounds check. * @param index a valid attribute index * @return the namespace prefix at index */ public @Prefix String getPrefixNoBoundsCheck(int index) { return names[index].getPrefix(mode); }
/** * Variant of <code>getPrefix(int index)</code> without bounds check. * @param index a valid attribute index * @return the namespace prefix at index */ public @Prefix String getPrefixNoBoundsCheck(int index) { return names[index].getPrefix(mode); }
public @Prefix String getPrefix(int index) { if (index < length && index >= 0) { return names[index].getPrefix(mode); } else { return null; } }
public @Prefix String getPrefix(int index) { if (index < length && index >= 0) { return names[index].getPrefix(mode); } else { return null; } }
/** * The startup-time constructor. * * @param uri * the namespace * @param local * the local name * @param prefix * the prefix * @param ncname * the ncnameness * @param xmlns * whether this is an xmlns attribute */ private AttributeName(@NsUri @NoLength String[] uri, @Local @NoLength String[] local, @Prefix @NoLength String[] prefix // [NOCPP[ , int flags // ]NOCPP] ) { this.uri = uri; this.local = local; this.prefix = prefix; // [NOCPP[ this.qName = COMPUTE_QNAME(local, prefix); this.flags = flags; // ]NOCPP] // CPPONLY: this.custom = false; }
/** * The startup-time constructor. * * @param uri * the namespace * @param local * the local name * @param prefix * the prefix * @param ncname * the ncnameness * @param xmlns * whether this is an xmlns attribute */ protected AttributeName(@NsUri @NoLength String[] uri, @Local @NoLength String[] local, @Prefix @NoLength String[] prefix // [NOCPP[ , int flags // ]NOCPP] ) { this.uri = uri; this.local = local; this.prefix = prefix; // [NOCPP[ this.qName = COMPUTE_QNAME(local, prefix); this.flags = flags; // ]NOCPP] }
/** * The startup-time constructor. * * @param uri * the namespace * @param local * the local name * @param prefix * the prefix * @param ncname * the ncnameness * @param xmlns * whether this is an xmlns attribute */ private AttributeName(@NsUri @NoLength String[] uri, @Local @NoLength String[] local, @Prefix @NoLength String[] prefix // [NOCPP[ , int flags // ]NOCPP] ) { this.uri = uri; this.local = local; this.prefix = prefix; // [NOCPP[ this.qName = COMPUTE_QNAME(local, prefix); this.flags = flags; // ]NOCPP] // CPPONLY: this.custom = false; }
static final @NoLength @Prefix String[] ALL_NO_PREFIX = { null, null, null, private static final @NoLength @Prefix String[] XMLNS_PREFIX = { null, "xmlns", "xmlns", private static final @NoLength @Prefix String[] XLINK_PREFIX = { null, "xlink", "xlink", private static final @NoLength @Prefix String[] XML_PREFIX = { null, "xml", "xml", private static final @NoLength @Prefix String[] LANG_PREFIX = { null, null, null, "xml" }; private final @Prefix @NoLength String[] prefix;
static final @NoLength @Prefix String[] ALL_NO_PREFIX = { null, null, null, private static final @NoLength @Prefix String[] XMLNS_PREFIX = { null, "xmlns", "xmlns", private static final @NoLength @Prefix String[] XLINK_PREFIX = { null, "xlink", "xlink", private static final @NoLength @Prefix String[] XML_PREFIX = { null, "xml", "xml", private static final @NoLength @Prefix String[] LANG_PREFIX = { null, null, null, "xml" }; private final @Prefix @NoLength String[] prefix;
static final @NoLength @Prefix String[] ALL_NO_PREFIX = { null, null, null, private static final @NoLength @Prefix String[] XMLNS_PREFIX = { null, "xmlns", "xmlns", private static final @NoLength @Prefix String[] XLINK_PREFIX = { null, "xlink", "xlink", private static final @NoLength @Prefix String[] XML_PREFIX = { null, "xml", "xml", private static final @NoLength @Prefix String[] LANG_PREFIX = { null, null, null, "xml" }; private final @Prefix @NoLength String[] prefix;