public AttributeNameCollection getAttributeNames() { AttributeNameCollection res = null; { if (resource != null) { res = resource.getAttributeNames(); } } return res; }