code: private InjectingEntityResolver createEntityResolver(EntityResolver resolver) {
  		if (getEntities() != null) {
  			return new InjectingEntityResolver(getEntities(), resolver, getType(), getLog());
  		} else {
  			return null;
  		}
  	}
docs: Creates an XML entity resolver.
  
  @param resolver The initial resolver to use.
  @return The new XML entity resolver or null if there is no entities to resolve.
  @see com.agilejava.docbkx.maven.InjectingEntityResolver