/** * Determine whether this node has the is-id property * @return true if the node is an ID */ public boolean isId() { TypeHierarchy th = getConfiguration().getTypeHierarchy(); return th.isIdCode(typeCode); }
/** * Determine whether a given attribute has the is-ID property set */ public boolean isId(int index) { return (codes[index * RECSIZE] & NamePool.FP_MASK) == StandardNames.XML_ID || config.getTypeHierarchy().isIdCode(getTypeAnnotation(index)); // return getType(index).equals("ID") || // ((getNameCode(index) & NamePool.FP_MASK) == StandardNames.XML_ID); }
/** * Determine whether this node has the is-id property * @return true if the node is an ID */ public boolean isId() { TypeHierarchy th = getConfiguration().getTypeHierarchy(); return th.isIdCode(typeCode); }
/** * Determine whether this node has the is-id property * @return true if the node is an ID */ public boolean isId() { if (getFingerprint() == StandardNames.XML_ID) { return true; } TypeHierarchy th = getConfiguration().getTypeHierarchy(); return th.isIdCode(typeCode); }
if (!isIDElement && config.getTypeHierarchy().isIdCode(typeCode)) { isIDElement = true;
if (!isIDElement && config.getTypeHierarchy().isIdCode(typeCode)) { isIDElement = true;
if (!isIDElement && config.getTypeHierarchy().isIdCode(typeCode)) { isIDElement = true;
} else if ((nameCode & NamePool.FP_MASK) == StandardNames.XML_ID) { isID = true; } else if (config.getTypeHierarchy().isIdCode(typeCode)) { isID = true;
} else if ((nameCode & NamePool.FP_MASK) == StandardNames.XML_ID) { isID = true; } else if (config.getTypeHierarchy().isIdCode(typeCode)) { isID = true;