org.fabric3.spi.contribution.ReferenceIntrospector Maven / Gradle / Ivy
package org.fabric3.spi.contribution;
/**
* Introspects a {@link ResourceElement} to determine if it references another resource element. Implementations are responsible for a specific
* resource type, such as a composite, XSD, or WSDL.
*/
public interface ReferenceIntrospector {
/**
* Returns true if the refers resource element references the referred resource element.
*
* @param referred the referenced resource element
* @param refers the resource element to check for references
* @return true if the refers resource element references the referred resource element
*/
boolean references(ResourceElement referred, ResourceElement, ?> refers);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy