/** * Determine whether this node has the is-idref property * @return true if the node is an IDREF or IDREFS element or attribute */ public boolean isIdref() { TypeHierarchy th = getConfiguration().getTypeHierarchy(); return th.isIdrefsCode(typeCode); }
/** * Determine whether a given attribute has the is-idref property set */ public boolean isIdref(int index) { return config.getTypeHierarchy().isIdrefsCode(getTypeAnnotation(index)); }
/** * Determine whether this node has the is-idref property * @return true if the node is an IDREF or IDREFS element or attribute */ public boolean isIdref() { TypeHierarchy th = getConfiguration().getTypeHierarchy(); return th.isIdrefsCode(typeCode); }
/** * Determine whether this node has the is-idref property * @return true if the node is an IDREF or IDREFS element or attribute */ public boolean isIdref() { TypeHierarchy th = getConfiguration().getTypeHierarchy(); return th.isIdrefsCode(typeCode); }
/** * Ask whether an element is an IDREF/IDREFS element. (The represents the * is-idref property in the data model) * @param nr the element node whose is-idref property is required * @return true if the node has the is-idref property */ public boolean isIdrefElement(int nr) { if (typeCodeArray == null) { return false; } int tc = typeCodeArray[nr]; return (tc & TYPECODE_IDREF) != 0 || getConfiguration().getTypeHierarchy().isIdrefsCode(tc & NamePool.FP_MASK); }
/** * Ask whether an element is an IDREF/IDREFS element. (The represents the * is-idref property in the data model) * @param nr the element node whose is-idref property is required * @return true if the node has the is-idref property */ public boolean isIdrefElement(int nr) { if (typeCodeArray == null) { return false; } int tc = typeCodeArray[nr]; return (tc & TYPECODE_IDREF) != 0 || getConfiguration().getTypeHierarchy().isIdrefsCode(tc & NamePool.FP_MASK); }